svn commit: r1803043 - in /openjpa/trunk: openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java pom.xml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

svn commit: r1803043 - in /openjpa/trunk: openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java pom.xml

struberg
Author: struberg
Date: Wed Jul 26 13:03:47 2017
New Revision: 1803043

URL: http://svn.apache.org/viewvc?rev=1803043&view=rev
Log:
OPENJPA-2707 set Java version to 1.8

Modified:
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java
    openjpa/trunk/pom.xml

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java?rev=1803043&r1=1803042&r2=1803043&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java (original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java Wed Jul 26 13:03:47 2017
@@ -231,7 +231,7 @@ class CriteriaQueryImpl<T> implements Op
     
     public Set<ParameterExpression<?>> getParameters() {
         collectParameters(new CriteriaExpressionVisitor.ParameterVisitor(this));
-        return _params == null ? Collections.EMPTY_SET : _params.keySet();
+        return _params == null ? Collections.EMPTY_SET : (Set) _params.keySet();
     }
 
     /**

Modified: openjpa/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/pom.xml?rev=1803043&r1=1803042&r2=1803043&view=diff
==============================================================================
--- openjpa/trunk/pom.xml (original)
+++ openjpa/trunk/pom.xml Wed Jul 26 13:03:47 2017
@@ -39,8 +39,8 @@
     <version>3.0.0-SNAPSHOT</version>
 
     <properties>
-        <java.class.version>1.7</java.class.version>
-        <java.testclass.version>1.7</java.testclass.version>
+        <java.class.version>1.8</java.class.version>
+        <java.testclass.version>1.8</java.testclass.version>
 
         <openjpa.version>${project.version}</openjpa.version>
         <openjpa.Log>DefaultLevel=INFO</openjpa.Log>


Loading...