Author: pkluegl
Date: Thu Jan 10 16:24:01 2019
New Revision: 1850960

URL: http://svn.apache.org/viewvc?rev=1850960&view=rev
Log:
UIMA-5952: fixed default namespace in root block

Modified:
    
uima/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/RutaScriptFactory.java

Modified: 
uima/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/RutaScriptFactory.java
URL: 
http://svn.apache.org/viewvc/uima/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/RutaScriptFactory.java?rev=1850960&r1=1850959&r2=1850960&view=diff
==============================================================================
--- 
uima/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/RutaScriptFactory.java
 (original)
+++ 
uima/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/RutaScriptFactory.java
 Thu Jan 10 16:24:01 2019
@@ -139,7 +139,7 @@ public class RutaScriptFactory {
     String defaultNamespace = module;
     if (StringUtils.isBlank(module) && StringUtils.isBlank(pack)) {
       defaultNamespace = "";
-    } else if (StringUtils.isBlank(module) && StringUtils.isBlank(pack)) {
+    } else if (!StringUtils.isBlank(module) && !StringUtils.isBlank(pack)) {
       defaultNamespace = pack + "." + module;
     } else if (!StringUtils.isBlank(module)) {
       defaultNamespace = module;


Reply via email to