karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject karaf git commit: [KARAF-4927] return null for unknown namespaces
Date Fri, 27 Jan 2017 09:49:05 GMT
Repository: karaf
Updated Branches:
  refs/heads/master cacd9856a -> e39183715


[KARAF-4927] return null for unknown namespaces


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/e3918371
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/e3918371
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/e3918371

Branch: refs/heads/master
Commit: e39183715a156910b03b725a56b3fbb287c0e2e7
Parents: cacd985
Author: Christian Schneider <chris@die-schneider.net>
Authored: Fri Jan 27 10:48:24 2017 +0100
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Fri Jan 27 10:48:24 2017 +0100

----------------------------------------------------------------------
 .../org/apache/karaf/shell/console/commands/NamespaceHandler.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/e3918371/shell/console/src/main/java/org/apache/karaf/shell/console/commands/NamespaceHandler.java
----------------------------------------------------------------------
diff --git a/shell/console/src/main/java/org/apache/karaf/shell/console/commands/NamespaceHandler.java
b/shell/console/src/main/java/org/apache/karaf/shell/console/commands/NamespaceHandler.java
index a534eea..f037cf6 100644
--- a/shell/console/src/main/java/org/apache/karaf/shell/console/commands/NamespaceHandler.java
+++ b/shell/console/src/main/java/org/apache/karaf/shell/console/commands/NamespaceHandler.java
@@ -84,7 +84,7 @@ public class NamespaceHandler implements org.apache.aries.blueprint.NamespaceHan
         } else if(SHELL_NAMESPACE_1_1_0.equals(namespace)) {
             return getClass().getResource("karaf-shell-1.1.0.xsd");
         }
-        return getClass().getResource("karaf-shell-1.1.0.xsd");
+        return null;
     }
 
 	public Set<Class> getManagedClasses() {


Mime
View raw message