summaryrefslogtreecommitdiff
blob: b2da71002139412e1aafab456bb162742632243b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -ru castor-1.1.1.old/src/main/java/org/exolab/castor/mapping/loader/Types.java castor-1.1.1/src/main/java/org/exolab/castor/mapping/loader/Types.java
--- castor-1.1.1.old/src/main/java/org/exolab/castor/mapping/loader/Types.java	2007-06-09 16:54:52.000000000 +0300
+++ castor-1.1.1/src/main/java/org/exolab/castor/mapping/loader/Types.java	2007-06-09 16:56:57.000000000 +0300
@@ -500,11 +500,11 @@
         new TypeInfo( "boolean",     java.lang.Boolean.TYPE,
                       java.lang.Boolean.class,    true,     Boolean.FALSE ),
         new TypeInfo( "double",      java.lang.Double.TYPE,
-                      java.lang.Double.class,     true,     new Double( 0 ) ),
+                      java.lang.Double.class,     true,     new Double( 0.0 ) ),
         new TypeInfo( "float",       java.lang.Float.TYPE,
-                      java.lang.Float.class,      true,     new Float( 0 ) ),
+                      java.lang.Float.class,      true,     new Float( 0.0f ) ),
         new TypeInfo( "big-decimal", null,
-                      java.math.BigDecimal.class, true,     new BigDecimal( 0 ) ),
+                      java.math.BigDecimal.class, true,     new BigDecimal( 0.0 ) ),
         new TypeInfo( "byte",        java.lang.Byte.TYPE,
                       java.lang.Byte.class,       true,     new Byte( (byte) 0 ) ),
         new TypeInfo( "date",        null,