incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r1098125 - /incubator/isis/trunk/runtimes/dflt/objectstores/sql/impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/jdbc/JdbcBinaryValueMapper.java
Date Sat, 30 Apr 2011 16:54:28 GMT
Author: kevin
Date: Sat Apr 30 16:54:28 2011
New Revision: 1098125

URL: http://svn.apache.org/viewvc?rev=1098125&view=rev
Log:
minor cleanup for symmetry

Modified:
    incubator/isis/trunk/runtimes/dflt/objectstores/sql/impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/jdbc/JdbcBinaryValueMapper.java

Modified: incubator/isis/trunk/runtimes/dflt/objectstores/sql/impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/jdbc/JdbcBinaryValueMapper.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/runtimes/dflt/objectstores/sql/impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/jdbc/JdbcBinaryValueMapper.java?rev=1098125&r1=1098124&r2=1098125&view=diff
==============================================================================
--- incubator/isis/trunk/runtimes/dflt/objectstores/sql/impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/jdbc/JdbcBinaryValueMapper.java
(original)
+++ incubator/isis/trunk/runtimes/dflt/objectstores/sql/impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/jdbc/JdbcBinaryValueMapper.java
Sat Apr 30 16:54:28 2011
@@ -96,11 +96,11 @@ public class JdbcBinaryValueMapper exten
                 resultObject = results.getDouble(columnName);
             } else if (checkIfIsClass(correspondingClass, Float.class, float.class)) {
                 resultObject = results.getFloat(columnName);
-            } else if (checkIfIsClass(correspondingClass, short.class, Short.class)) {
+            } else if (checkIfIsClass(correspondingClass, Short.class, short.class)) {
                 resultObject = results.getShort(columnName);
-            } else if (checkIfIsClass(correspondingClass, long.class, Long.class)) {
+            } else if (checkIfIsClass(correspondingClass, Long.class, long.class)) {
                 resultObject = results.getLong(columnName);
-            } else if (checkIfIsClass(correspondingClass, boolean.class, Boolean.class))
{
+            } else if (checkIfIsClass(correspondingClass, Boolean.class, boolean.class))
{
                 resultObject = results.getBoolean(columnName);
             } else {
                 throw new IsisApplicationException("Unhandled type: " + correspondingClass.getCanonicalName());



Mime
View raw message