You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by xa...@apache.org on 2007/06/27 11:38:49 UTC

svn commit: r551125 - /incubator/ivy/core/trunk/src/java/org/apache/ivy/util/extendable/UnmodifiableExtendableItem.java

Author: xavier
Date: Wed Jun 27 04:38:49 2007
New Revision: 551125

URL: http://svn.apache.org/viewvc?view=rev&rev=551125
Log:
FIX: error in last clean code

Modified:
    incubator/ivy/core/trunk/src/java/org/apache/ivy/util/extendable/UnmodifiableExtendableItem.java

Modified: incubator/ivy/core/trunk/src/java/org/apache/ivy/util/extendable/UnmodifiableExtendableItem.java
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/src/java/org/apache/ivy/util/extendable/UnmodifiableExtendableItem.java?view=diff&rev=551125&r1=551124&r2=551125
==============================================================================
--- incubator/ivy/core/trunk/src/java/org/apache/ivy/util/extendable/UnmodifiableExtendableItem.java (original)
+++ incubator/ivy/core/trunk/src/java/org/apache/ivy/util/extendable/UnmodifiableExtendableItem.java Wed Jun 27 04:38:49 2007
@@ -36,12 +36,12 @@
 
     public UnmodifiableExtendableItem(Map stdAttributes, Map extraAttributes) {
         if (stdAttributes != null) {
-            attributes.putAll(stdAttributes);
-            stdAttributes.putAll(stdAttributes);
+            this.attributes.putAll(stdAttributes);
+            this.stdAttributes.putAll(stdAttributes);
         }
         if (extraAttributes != null) {
-            attributes.putAll(extraAttributes);
-            extraAttributes.putAll(extraAttributes);
+            this.attributes.putAll(extraAttributes);
+            this.extraAttributes.putAll(extraAttributes);
         }
     }