activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r467685 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/OpenWireFormat.java
Date Wed, 25 Oct 2006 15:46:08 GMT
Author: chirino
Date: Wed Oct 25 08:46:07 2006
New Revision: 467685

URL: http://svn.apache.org/viewvc?view=rev&rev=467685
Log:
fix npes during tests..

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/OpenWireFormat.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/OpenWireFormat.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/OpenWireFormat.java?view=diff&rev=467685&r1=467684&r2=467685
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/OpenWireFormat.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/OpenWireFormat.java
Wed Oct 25 08:46:07 2006
@@ -57,8 +57,8 @@
     private short nextMarshallCacheIndex=0;    
     private short nextMarshallCacheEvictionIndex=0;    
     private HashMap marshallCacheMap = new HashMap();
-    private DataStructure marshallCache[];
-    private DataStructure unmarshallCache[];
+    private DataStructure marshallCache[] = new DataStructure[MARSHAL_CACHE_SIZE];
+    private DataStructure unmarshallCache[] = new DataStructure[MARSHAL_CACHE_SIZE];
     
 	private WireFormatInfo preferedWireFormatInfo;
             



Mime
View raw message