Skip to content

Commit

Permalink
[arquillian#14] Auto SF
Browse files Browse the repository at this point in the history
  • Loading branch information
cgoncas committed May 21, 2015
1 parent cc91c05 commit 9ffdb29
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -32,4 +32,4 @@ public void replaceBundleActivatorsFile(
Archive archive, String fileName, List<String> bundleActivators)
throws IOException;

}
}
Expand Up @@ -91,4 +91,4 @@ public void replaceManifest(Archive archive, Manifest manifest )
archive.add(byteArrayAsset, JarFile.MANIFEST_NAME);
}

}
}
Expand Up @@ -42,7 +42,7 @@ public DummyServiceLoaderWithOSGIBundleAuxiliaryArchiveWithActivator(
public <T> Collection<T> all(Class<T> aClass) {
Collection<T> all = super.all(aClass);

if (all != null && !all.isEmpty()) {
if ((all != null) && !all.isEmpty()) {
return all;
}

Expand Down
Expand Up @@ -57,7 +57,7 @@ public static void createManifest(
manifest.getMainAttributes().put(
new Attributes.Name("Bundle-ManifestVersion"), "1");

if (activator != null && !activator.isEmpty()) {
if ((activator != null) && !activator.isEmpty()) {
manifest.getMainAttributes().put(
new Attributes.Name("Bundle-Activator"), activator);
}
Expand Down

0 comments on commit 9ffdb29

Please sign in to comment.