chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1301655 - /chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/ObjectFactoryImpl.java
Date Fri, 16 Mar 2012 17:16:29 GMT
Author: jens
Date: Fri Mar 16 17:16:29 2012
New Revision: 1301655

URL: http://svn.apache.org/viewvc?rev=1301655&view=rev
Log:
mimor corection

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/ObjectFactoryImpl.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/ObjectFactoryImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/ObjectFactoryImpl.java?rev=1301655&r1=1301654&r2=1301655&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/ObjectFactoryImpl.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-impl/src/main/java/org/apache/chemistry/opencmis/client/runtime/repository/ObjectFactoryImpl.java
Fri Mar 16 17:16:29 2012
@@ -411,7 +411,7 @@ public class ObjectFactoryImpl implement
 
                     propertyData = bof.createPropertyIntegerData(id, list);
                 } else {
-                    throwWrongTypeError(firstValue, "integer", Integer.class, id);
+                    throwWrongTypeError(firstValue, "integer", BigInteger.class, id);
                 }
             } else if (definition instanceof PropertyBooleanDefinition) {
                 if (firstValue == null) {
@@ -575,7 +575,7 @@ public class ObjectFactoryImpl implement
         if (clazz.equals(BigInteger.class))
             expectedTypes = "<BigInteger, Byte, Short, Integer, Long>";
         else if (clazz.equals(BigDecimal.class))
-            expectedTypes = "<BigDecimal, Float, Double, Byte, Short, Integer, Long>";
+            expectedTypes = "<BigDecimal, Double, Float, Byte, Short, Integer, Long>";
         else if (clazz.equals(GregorianCalendar.class))
             expectedTypes = "<java.util.GregorianCalendar, java.util.Date>";
         else



Mime
View raw message