incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r528507 - /incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ValueWriter.java
Date Fri, 13 Apr 2007 14:52:51 GMT
Author: rickmcguire
Date: Fri Apr 13 07:52:50 2007
New Revision: 528507

URL: http://svn.apache.org/viewvc?view=rev&rev=528507
Log:
YOKO-341 ValueWriter needs to use IndentityHash for tracking duplicate objects.


Modified:
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ValueWriter.java

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ValueWriter.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ValueWriter.java?view=diff&rev=528507&r1=528506&r2=528507
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ValueWriter.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ValueWriter.java Fri Apr
13 07:52:50 2007
@@ -72,7 +72,7 @@
     // marshalled. idTable_ records the position of a repository ID.
     // idListTable_ records the position of a list of repository IDs.
     //
-    private java.util.Hashtable instanceTable_;
+    private java.util.IdentityHashMap instanceTable_;
 
     private java.util.Hashtable idTable_;
 
@@ -245,7 +245,7 @@
         needChunk_ = false;
         chunkSizePos_ = 0;
         lastEndTagPos_ = 0;
-        instanceTable_ = new java.util.Hashtable(131);
+        instanceTable_ = new java.util.IdentityHashMap(131);
         idTable_ = new java.util.Hashtable(131);
         idListTable_ = new java.util.Hashtable(131);
         codebaseTable_ = new java.util.Hashtable(3);



Mime
View raw message