From 43eb43898a43f2419cd86564a50c2e661f65e5b2 Mon Sep 17 00:00:00 2001 From: Marc Prud'hommeaux Date: Wed, 13 Jun 2007 05:34:31 +0000 Subject: [PATCH] Removed JDK1.5-specific construct. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546742 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java index c863a288e..45b3f1b37 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java @@ -318,7 +318,7 @@ public class JDBCFetchConfigurationImpl && level != Connection.TRANSACTION_REPEATABLE_READ && level != Connection.TRANSACTION_SERIALIZABLE) throw new IllegalArgumentException( - _loc.get("bad-level", Integer.valueOf(level)).getMessage()); + _loc.get("bad-level", new Integer(level)).getMessage()); if (level == DEFAULT) _state.isolationLevel = -1;