geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r454034 - /geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java
Date Sat, 07 Oct 2006 22:06:25 GMT
Author: jdillon
Date: Sat Oct  7 15:06:25 2006
New Revision: 454034

URL: http://svn.apache.org/viewvc?view=rev&rev=454034
Log:
(GERONIMO-2463) Only write out the condition if it is non-null and not an empty string

Modified:
    geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java

Modified: geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java?view=diff&rev=454034&r1=454033&r2=454034
==============================================================================
--- geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java
(original)
+++ geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java
Sat Oct  7 15:06:25 2006
@@ -139,7 +139,7 @@
         if (!load) {
             module.setAttribute("load", "false");
         }
-        if (condition != null) {
+        if (condition != null && condition.trim().length() != 0) {
             module.setAttribute("condition", condition);
         }
 



Mime
View raw message