qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r584136 - /incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/codec/AbstractEncoder.java
Date Fri, 12 Oct 2007 11:30:40 GMT
Author: rhs
Date: Fri Oct 12 04:30:40 2007
New Revision: 584136

URL: http://svn.apache.org/viewvc?rev=584136&view=rev
Log:
added Boolean to the default encoding map

Modified:
    incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/codec/AbstractEncoder.java

Modified: incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/codec/AbstractEncoder.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/codec/AbstractEncoder.java?rev=584136&r1=584135&r2=584136&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/codec/AbstractEncoder.java
(original)
+++ incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/codec/AbstractEncoder.java
Fri Oct 12 04:30:40 2007
@@ -47,6 +47,7 @@
     private static Map<Class<?>,Type> ENCODINGS = new HashMap<Class<?>,Type>();
     static
     {
+        ENCODINGS.put(Boolean.class, Type.BOOLEAN);
         ENCODINGS.put(String.class, Type.LONG_STRING);
         ENCODINGS.put(Long.class, Type.SIGNED_LONG);
         ENCODINGS.put(Integer.class, Type.SIGNED_INT);



Mime
View raw message