openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtyle...@apache.org
Subject svn commit: r1180578 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryEscapeCharacters.java
Date Sun, 09 Oct 2011 10:37:47 GMT
Author: mtylenda
Date: Sun Oct  9 10:37:47 2011
New Revision: 1180578

URL: http://svn.apache.org/viewvc?rev=1180578&view=rev
Log:
OPENJPA-2056: Remove unnecessary casts from test case - continued.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryEscapeCharacters.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryEscapeCharacters.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryEscapeCharacters.java?rev=1180578&r1=1180577&r2=1180578&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryEscapeCharacters.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryEscapeCharacters.java
Sun Oct  9 10:37:47 2011
@@ -91,8 +91,7 @@ public class TestQueryEscapeCharacters
 
     public void testDoubleSlashQuery() {
         // get the Dictionary and check the requiresSearchStringEscapeForLike flag
-        OpenJPAEntityManagerFactorySPI ojpaEmf = 
-            (OpenJPAEntityManagerFactorySPI) emf;
+        OpenJPAEntityManagerFactorySPI ojpaEmf = emf;
         JDBCConfiguration conf = (JDBCConfiguration)ojpaEmf.getConfiguration();
         
         if (conf.getDBDictionaryInstance().



Mime
View raw message