openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1820041 - /openjpa/branches/2.4.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
Date Thu, 04 Jan 2018 08:22:40 GMT
Author: ilgrosso
Date: Thu Jan  4 08:22:40 2018
New Revision: 1820041

URL: http://svn.apache.org/viewvc?rev=1820041&view=rev
Log:
OPENJPA-2725 - Fix build with java 6

Modified:
    openjpa/branches/2.4.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java

Modified: openjpa/branches/2.4.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.4.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java?rev=1820041&r1=1820040&r2=1820041&view=diff
==============================================================================
--- openjpa/branches/2.4.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
(original)
+++ openjpa/branches/2.4.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
Thu Jan  4 08:22:40 2018
@@ -2149,7 +2149,7 @@ public class BrokerImpl implements Broke
             // dependents
             _flags |= FLAG_DEREFDELETING;
             if (flush && _derefCache != null && !_derefCache.isEmpty()) {
-                Set<StateManagerImpl> statesMarkedForDelete = new HashSet<>();
+                Set<StateManagerImpl> statesMarkedForDelete = new HashSet<StateManagerImpl>();
                 // mark for delete all elements in deref, otherwise in some situations it
                 // throws ConcurrentModificationException
                 statesMarkedForDelete.addAll(_derefCache);



Mime
View raw message