- protected List/* <OsgiArtifact> */listArtifacts(InputStream in) {
- List osgiArtifacts = new ArrayList();
+ protected List<OsgiArtifact> listArtifacts(InputStream in) {
+ List<OsgiArtifact> osgiArtifacts = new ArrayList<OsgiArtifact>();
if (baseUrl == null)
throw new OsgiBootException("Base URL is not set");
if (artifacts == null)
throw new OsgiBootException("Artifact list not initialized");
if (baseUrl == null)
throw new OsgiBootException("Base URL is not set");
if (artifacts == null)
throw new OsgiBootException("Artifact list not initialized");
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());