/** can be null */
private String relativeUrl;
- private List/* <OsgiArtifact> */artifacts;
+ private List<OsgiArtifact> artifacts;
private String separator = ",";
}
}
- protected List/* <OsgiArtifact> */listArtifacts(InputStream in) {
- List osgiArtifacts = new ArrayList();
+ protected List<OsgiArtifact> listArtifacts(InputStream in) {
+ List<OsgiArtifact> osgiArtifacts = new ArrayList<OsgiArtifact>();
BufferedReader reader = null;
try {
reader = new BufferedReader(new InputStreamReader(in));
}
/**
- * List full URLs of the bunmdles, based on base URL, usable directly for
+ * List full URLs of the bundles, based on base URL, usable directly for
* download.
*/
- public List/* <String> */listUrls() {
+ public List<String> listUrls() {
if (baseUrl == null)
throw new OsgiBootException("Base URL is not set");
if (artifacts == null)
throw new OsgiBootException("Artifact list not initialized");
- List/* <String> */urls = new ArrayList();
+ List<String> urls = new ArrayList<String>();
for (int i = 0; i < artifacts.size(); i++) {
OsgiArtifact osgiArtifact = (OsgiArtifact) artifacts.get(i);
urls.add(baseUrl + osgiArtifact.getRelativeUrl());