Remove unnecessary warning
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 24 Feb 2015 21:48:13 +0000 (21:48 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 24 Feb 2015 21:48:13 +0000 (21:48 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@7948 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.repo/src/org/argeo/slc/repo/osgi/BndWrapper.java

index 1c9a5f89007f87caf32775063d2eb9d74cca8de6..3f4dbea673ad92fdfa0d9dff0bc67a6ad92cef5c 100644 (file)
@@ -182,8 +182,9 @@ public class BndWrapper implements Constants, CategorizedNameVersion,
                if (this.name == null) {
                        this.name = name;
                } else {
-                       log.warn("Using explicitely set name " + this.name
-                                       + " and not bean name " + name);
+                       if (!name.contains("#"))
+                               log.warn("Using explicitely set name " + this.name
+                                               + " and not bean name " + name);
                }
        }