cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r684035 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types: AbstractType.java ExtendedType.java
Date Fri, 08 Aug 2008 18:26:19 GMT
Author: aadamchik
Date: Fri Aug  8 11:26:19 2008
New Revision: 684035

URL: http://svn.apache.org/viewvc?rev=684035&view=rev
Log:
proper param names

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/AbstractType.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/ExtendedType.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/AbstractType.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/AbstractType.java?rev=684035&r1=684034&r2=684035&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/AbstractType.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/AbstractType.java
Fri Aug  8 11:26:19 2008
@@ -70,10 +70,10 @@
             Object val,
             int pos,
             int type,
-            int precision) throws Exception {
+            int scale) throws Exception {
 
-        if (precision != -1) {
-            st.setObject(pos, val, type, precision);
+        if (scale != -1) {
+            st.setObject(pos, val, type, scale);
         }
         else {
             st.setObject(pos, val, type);

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/ExtendedType.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/ExtendedType.java?rev=684035&r1=684034&r2=684035&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/ExtendedType.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/types/ExtendedType.java
Fri Aug  8 11:26:19 2008
@@ -63,7 +63,7 @@
             Object value,
             int pos,
             int type,
-            int precision) throws Exception;
+            int scale) throws Exception;
 
     /**
      * Reads an object from JDBC ResultSet column, converting it to class returned by



Mime
View raw message