You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2014/07/11 22:36:36 UTC
svn commit: r1609824 -
/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java
Author: oheger
Date: Fri Jul 11 20:36:35 2014
New Revision: 1609824
URL: http://svn.apache.org/r1609824
Log:
Removed obsolete methods from BasicConfigurationBuilder.
Modified:
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java
Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java?rev=1609824&r1=1609823&r2=1609824&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java (original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java Fri Jul 11 20:36:35 2014
@@ -29,7 +29,6 @@ import org.apache.commons.configuration.
import org.apache.commons.configuration.beanutils.BeanHelper;
import org.apache.commons.configuration.beanutils.ConstructorArg;
import org.apache.commons.configuration.event.ConfigurationErrorListener;
-import org.apache.commons.configuration.event.ConfigurationListener;
import org.apache.commons.configuration.event.Event;
import org.apache.commons.configuration.event.EventListener;
import org.apache.commons.configuration.event.EventListenerList;
@@ -270,22 +269,6 @@ public class BasicConfigurationBuilder<T
}
/**
- * Adds the specified listener for {@code ConfigurationEvent}s to this
- * builder. It is also registered at the result objects produced by this
- * builder.
- *
- * @param l the listener to be registered
- * @return a reference to this builder for method chaining
- * @deprecated Use the method expecting an event type.
- */
- @Deprecated
- public synchronized BasicConfigurationBuilder<T> addConfigurationListener(
- ConfigurationListener l)
- {
- return this;
- }
-
- /**
* Adds the specified event listener to this builder. It is also registered
* at the result objects produced by this builder.
*
@@ -303,21 +286,6 @@ public class BasicConfigurationBuilder<T
}
/**
- * Removes the specified listener for {@code ConfigurationEvent}s from this
- * builder. It is also removed from the current result object if it exists.
- *
- * @param l the listener to be removed
- * @return a reference to this builder for method chaining
- * @deprecated Use the method expecting an event type
- */
- @Deprecated
- public synchronized BasicConfigurationBuilder<T> removeConfigurationListener(
- ConfigurationListener l)
- {
- return this;
- }
-
- /**
* Removes the specified event listener from this builder. It is also
* removed from the current result object if it exists.
*