cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1460109 - /cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/Util.java
Date Sat, 23 Mar 2013 07:39:16 GMT
Author: aadamchik
Date: Sat Mar 23 07:39:16 2013
New Revision: 1460109

URL: http://svn.apache.org/r1460109
Log:
CAY-1804  Serialisation of long[] type was not working correctly.

patch by      Kris Erik Schwerdt

Modified:
    cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/Util.java

Modified: cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/Util.java
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/Util.java?rev=1460109&r1=1460108&r2=1460109&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/Util.java
(original)
+++ cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/Util.java
Sat Mar 23 07:39:16 2013
@@ -645,6 +645,9 @@ public class Util {
             else if ("int".equals(className)) {
                 return int[].class;
             }
+            else if ("long".equals(className)) {
+                return long[].class;
+            }
             else if ("short".equals(className)) {
                 return short[].class;
             }



Mime
View raw message