Author: simonetripodi
Date: Tue Feb 1 21:36:09 2011
New Revision: 1066234
URL: http://svn.apache.org/viewvc?rev=1066234&view=rev
Log:
children will be created starting from the same binder instance
Modified:
commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
Modified:
commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
URL:
http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java?rev=1066234&r1=1066233&r2=1066234&view=diff
==============================================================================
---
commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
(original)
+++
commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
Tue Feb 1 21:36:09 2011
@@ -54,24 +54,7 @@ final class RulesBinderImpl implements R
/**
* The data structure where storing the providers binding.
*/
- private final Collection<RegisteredProvider> providers;
-
- /**
- * Creates a new {@link RulesBinder} instance with no bound providers.
- */
- public RulesBinderImpl() {
- this(new ArrayList<RegisteredProvider>());
- }
-
- /**
- * Creates a new {@link RulesBinder} instance with already bound providers,
- * useful when creating child Digester from an existing configuration.
- *
- * @param providers the data structure where storing the providers binding.
- */
- public RulesBinderImpl(Collection<RegisteredProvider> providers) {
- this.providers = providers;
- }
+ private final Collection<RegisteredProvider> providers = new
ArrayList<RegisteredProvider>();
/**
* {@inheritDoc}