From 330b1f657a9bdbd8886eb20adb58001af5b021b4 Mon Sep 17 00:00:00 2001 From: Albert Lee Date: Wed, 21 Oct 2009 16:15:53 +0000 Subject: [PATCH] Re-factor unnecessary String concatenation. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828079 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/openjpa/persistence/query/TestQueryLock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryLock.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryLock.java index bea10391e..8dc2ea312 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryLock.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryLock.java @@ -40,7 +40,7 @@ public class TestQueryLock extends BaseQueryTest { public void testJPQLLock() { EntityManager em = currentEntityManager(); - Query q = em.createQuery("SELECT o FROM Entity1 o " + "WHERE o.stringField = 'testSimple'"); + Query q = em.createQuery("SELECT o FROM Entity1 o WHERE o.stringField = 'testSimple'"); try { q.setLockMode(LockModeType.NONE);