incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r698980 - /incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
Date Thu, 25 Sep 2008 14:16:47 GMT
Author: fmeschbe
Date: Thu Sep 25 07:16:47 2008
New Revision: 698980

URL: http://svn.apache.org/viewvc?rev=698980&view=rev
Log:
SLING-675 The system property should be removed if it was not set

Modified:
    incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java

Modified: incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java?rev=698980&r1=698979&r2=698980&view=diff
==============================================================================
--- incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
(original)
+++ incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
Thu Sep 25 07:16:47 2008
@@ -314,6 +314,8 @@
         } finally {
             if (propValue != null) {
                 System.setProperty(propName, propValue);
+            } else {
+                System.clearProperty(propName);
             }
         }
     }



Mime
View raw message