commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject svn commit: r389976 - /jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java
Date Thu, 30 Mar 2006 03:10:57 GMT
Author: billbarker
Date: Wed Mar 29 19:10:56 2006
New Revision: 389976

URL: http://svn.apache.org/viewcvs?rev=389976&view=rev
Log:
Add Long as a recognized type conversion.

Fix for Bug #31608
Submitted By: Rainer Jung 

Modified:
    jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java

Modified: jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java?rev=389976&r1=389975&r2=389976&view=diff
==============================================================================
--- jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java
(original)
+++ jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java
Wed Mar 29 19:10:56 2006
@@ -713,6 +713,9 @@
         } else if( "java.lang.Integer".equals( type ) ||
                 "int".equals( type )) {
             objValue=new Integer( value );
+        } else if("java.lang.Long".equals( type ) ||
+                  "long".equals( type )) {
+            objValue = new Long( value );
         } else if( "java.lang.Boolean".equals( type ) ||
                 "boolean".equals( type )) {
             objValue=new Boolean( value );



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message