geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject svn commit: r379113 - /geronimo/trunk/modules/kernel/src/test/org/apache/geronimo/gbean/GBeanNameTest.java
Date Mon, 20 Feb 2006 12:11:04 GMT
Author: gdamour
Date: Mon Feb 20 04:10:57 2006
New Revision: 379113

URL: http://svn.apache.org/viewcvs?rev=379113&view=rev
Log:
Oops. System.clearProperty is only available since 1.5.

Modified:
    geronimo/trunk/modules/kernel/src/test/org/apache/geronimo/gbean/GBeanNameTest.java

Modified: geronimo/trunk/modules/kernel/src/test/org/apache/geronimo/gbean/GBeanNameTest.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/kernel/src/test/org/apache/geronimo/gbean/GBeanNameTest.java?rev=379113&r1=379112&r2=379113&view=diff
==============================================================================
--- geronimo/trunk/modules/kernel/src/test/org/apache/geronimo/gbean/GBeanNameTest.java (original)
+++ geronimo/trunk/modules/kernel/src/test/org/apache/geronimo/gbean/GBeanNameTest.java Mon
Feb 20 04:10:57 2006
@@ -168,7 +168,7 @@
         String codeBase = System.getProperty(codeBaseProperty);
         MarshalledObject o;
         try {
-            System.clearProperty(codeBaseProperty);
+            System.setProperty(codeBaseProperty, "");
             o = new MarshalledObject(name);
         } finally {
             if (null != codeBase) {



Mime
View raw message