openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hthom...@apache.org
Subject svn commit: r1171231 - /openjpa/branches/2.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
Date Thu, 15 Sep 2011 19:09:34 GMT
Author: hthomann
Date: Thu Sep 15 19:09:34 2011
New Revision: 1171231

URL: http://svn.apache.org/viewvc?rev=1171231&view=rev
Log:
OPENJPA-1376: Updated DBDictionary to remove extraneous 'if' block.

Modified:
    openjpa/branches/2.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java

Modified: openjpa/branches/2.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java?rev=1171231&r1=1171230&r2=1171231&view=diff
==============================================================================
--- openjpa/branches/2.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
(original)
+++ openjpa/branches/2.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
Thu Sep 15 19:09:34 2011
@@ -3394,8 +3394,6 @@ public class DBDictionary
             buf.append(" INCREMENT BY ").append(seq.getIncrement() * seq.getAllocate());
         }
 
-        if (seq.getIncrement() > 1)
-            buf.append(" INCREMENT BY ").append(seq.getIncrement());
         return new String[]{ buf.toString() };
     }
 



Mime
View raw message