commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r593319 - /commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java
Date Thu, 08 Nov 2007 21:14:22 GMT
Author: oheger
Date: Thu Nov  8 13:14:21 2007
New Revision: 593319

URL: http://svn.apache.org/viewvc?rev=593319&view=rev
Log:
Fix for a findbugs warning in HierarchicalConfiguration: the non serializable field expressionEngine
was made transient. This should not be a problem because serialization of Configuration objects
never worked. This is something that needs to be addressed in the next major release.

Modified:
    commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java

Modified: commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java?rev=593319&r1=593318&r2=593319&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java
Thu Nov  8 13:14:21 2007
@@ -163,7 +163,7 @@
     private ConfigurationNode rootNode;
 
     /** Stores the expression engine for this instance.*/
-    private ExpressionEngine expressionEngine;
+    private transient ExpressionEngine expressionEngine;
 
     /**
      * Creates a new instance of <code>HierarchicalConfiguration</code>.



Mime
View raw message