ibatis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgbut...@apache.org
Subject svn commit: r677634 - in /ibatis/trunk/java/tools/ibator/core: build/version.properties src/org/apache/ibatis/ibator/plugins/EqualsHashCodePlugin.java
Date Thu, 17 Jul 2008 16:39:28 GMT
Author: jgbutler
Date: Thu Jul 17 09:39:28 2008
New Revision: 677634

URL: http://svn.apache.org/viewvc?rev=677634&view=rev
Log:
Fix for IBATIS-523

Modified:
    ibatis/trunk/java/tools/ibator/core/build/version.properties
    ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/plugins/EqualsHashCodePlugin.java

Modified: ibatis/trunk/java/tools/ibator/core/build/version.properties
URL: http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/build/version.properties?rev=677634&r1=677633&r2=677634&view=diff
==============================================================================
--- ibatis/trunk/java/tools/ibator/core/build/version.properties (original)
+++ ibatis/trunk/java/tools/ibator/core/build/version.properties Thu Jul 17 09:39:28 2008
@@ -1,4 +1,4 @@
 #ibator build version info
-#Thu Jun 26 21:06:44 CDT 2008
+#Thu Jul 17 11:33:46 CDT 2008
 version=1.2.0
-buildNum=559
+buildNum=560

Modified: ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/plugins/EqualsHashCodePlugin.java
URL: http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/plugins/EqualsHashCodePlugin.java?rev=677634&r1=677633&r2=677634&view=diff
==============================================================================
--- ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/plugins/EqualsHashCodePlugin.java
(original)
+++ ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/plugins/EqualsHashCodePlugin.java
Thu Jul 17 09:39:28 2008
@@ -191,9 +191,10 @@
                 sb.append("().equals(other."); //$NON-NLS-1$
                 sb.append(getterMethod);
                 sb.append("())"); //$NON-NLS-1$
-                if (!iter.hasNext()) {
-                    sb.append(';');
-                }
+            }
+            
+            if (!iter.hasNext()) {
+                sb.append(';');
             }
 
             method.addBodyLine(sb.toString());



Mime
View raw message