* expected that it is. The root of the repository is computed based on the file
* name of the URL and of the content of the index.
*/
* expected that it is. The root of the repository is computed based on the file
* name of the URL and of the content of the index.
*/
public class DistributionBundle {
private final static String INDEX_FILE_NAME = "modularDistribution.csv";
public class DistributionBundle {
private final static String INDEX_FILE_NAME = "modularDistribution.csv";
- protected List/* <OsgiArtifact> */listArtifacts(InputStream in) {
- List osgiArtifacts = new ArrayList();
+ protected List<OsgiArtifact> listArtifacts(InputStream in) {
+ List<OsgiArtifact> osgiArtifacts = new ArrayList<OsgiArtifact>();
for (int i = 0; i < artifacts.size(); i++) {
OsgiArtifact osgiArtifact = (OsgiArtifact) artifacts.get(i);
urls.add(baseUrl + osgiArtifact.getRelativeUrl());
for (int i = 0; i < artifacts.size(); i++) {
OsgiArtifact osgiArtifact = (OsgiArtifact) artifacts.get(i);
urls.add(baseUrl + osgiArtifact.getRelativeUrl());