commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r801067 - /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/ConfigurationSource.java
Date Wed, 05 Aug 2009 05:48:41 GMT
Author: oheger
Date: Wed Aug  5 05:48:41 2009
New Revision: 801067

URL: http://svn.apache.org/viewvc?rev=801067&view=rev
Log:
A plain ConfigurationSource should not support an ExpressionEngine.

Modified:
    commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/ConfigurationSource.java

Modified: commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/ConfigurationSource.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/ConfigurationSource.java?rev=801067&r1=801066&r2=801067&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/ConfigurationSource.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/ConfigurationSource.java
Wed Aug  5 05:48:41 2009
@@ -19,8 +19,6 @@
 import java.util.Collection;
 import java.util.Iterator;
 
-import org.apache.commons.configuration2.expr.ExpressionEngine;
-
 /**
  * <p>
  * An interface defining a source for configuration settings.
@@ -222,26 +220,4 @@
      * @see #getProperty(String)
      */
     int valueCount(String key);
-
-    /**
-     * Returns the {@code ExpressionEngine} used by this {@code
-     * ConfigurationSource}.
-     *
-     * @return the {@code ExpressionEngine}
-     */
-    ExpressionEngine getExpressionEngine();
-
-    /**
-     * Sets the {@code ExpressionEngine} to be used by this {@code
-     * ConfigurationSource}. This {@code ExpressionEngine} should be used for
-     * interpreting configuration keys passed to the methods of this interface.
-     * If an implementation does not support an {@code ExpressionEngine} (e.g.
-     * non-hierarchical implementations), it should at least store the reference
-     * passed to this method so that it can be returned by
-     * {@link #getExpressionEngine()}.
-     *
-     * @param engine the {@code ExpressionEngine} to be used for interpreting
-     *        property keys
-     */
-    void setExpressionEngine(ExpressionEngine engine);
 }



Mime
View raw message