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/22 22:04:23 UTC
svn commit: r1612675 -
/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/ConfigurationEvent.java
Author: oheger
Date: Tue Jul 22 20:04:23 2014
New Revision: 1612675
URL: http://svn.apache.org/r1612675
Log:
Removed deprecated members from ConfigurationEvent.
Modified:
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/ConfigurationEvent.java
Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/ConfigurationEvent.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/ConfigurationEvent.java?rev=1612675&r1=1612674&r2=1612675&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/ConfigurationEvent.java (original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/ConfigurationEvent.java Tue Jul 22 20:04:23 2014
@@ -152,9 +152,6 @@ public class ConfigurationEvent extends
new EventType<ConfigurationEvent>(ANY_HIERARCHICAL,
"SUBNODE_CHANGED");
- /** The legacy event type. */
- private final int type;
-
/** Stores the property name. */
private final String propertyName;
@@ -182,39 +179,6 @@ public class ConfigurationEvent extends
this.propertyName = propertyName;
this.propertyValue = propertyValue;
this.beforeUpdate = beforeUpdate;
- this.type = 0;
- }
-
- /**
- * Creates a new instance of {@code ConfigurationEvent} and initializes it
- * with a legacy event type.
- *
- * @param source the event source
- * @param type the numeric event type
- * @param propertyName the name of the affected property
- * @param propertyValue the value of the affected property
- * @param beforeUpdate the before update flag
- * @deprecated use the constructor which expects an {@code EventType}
- */
- public ConfigurationEvent(Object source, int type, String propertyName,
- Object propertyValue, boolean beforeUpdate)
- {
- super(source, ANY);
- this.propertyName = propertyName;
- this.propertyValue = propertyValue;
- this.beforeUpdate = beforeUpdate;
- this.type = type;
- }
-
- /**
- * Returns the numeric event type.
- *
- * @return the numeric event type
- * @deprecated use {@code getEventType}
- */
- public int getType()
- {
- return type;
}
/**