You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by al...@apache.org on 2009/03/10 18:58:10 UTC

svn commit: r752193 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java

Author: allee8285
Date: Tue Mar 10 17:58:08 2009
New Revision: 752193

URL: http://svn.apache.org/viewvc?rev=752193&view=rev
Log:
OPENJPA-891 - remove unneeded code. Code review changes per Pinaki's comment.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java?rev=752193&r1=752192&r2=752193&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java Tue Mar 10 17:58:08 2009
@@ -127,7 +127,6 @@
         OpenJPAConfiguration config, SQLException se, DBDictionary dict,
         int level) {
         OpenJPAException storeEx = SQLExceptions.getStore(se, dict);
-        String lm = config.getLockManager();
         if (storeEx.getSubtype() == StoreException.LOCK) {
             LockException lockEx = (LockException) storeEx;
             lockEx.setLockLevel(level);