projects
/
hibernate-maven-plugin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6e06c
)
Fixed ConcurrentModificationException
author
Kai Moritz
<kai@juplo.de>
Tue, 22 Dec 2015 18:56:41 +0000
(19:56 +0100)
committer
Kai Moritz
<kai@juplo.de>
Mon, 7 Mar 2016 13:20:10 +0000
(14:20 +0100)
src/main/java/de/juplo/plugins/hibernate/ModificationTracker.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/plugins/hibernate/ModificationTracker.java
b/src/main/java/de/juplo/plugins/hibernate/ModificationTracker.java
index
f103ad1
..
7b5791f
100644
(file)
--- a/
src/main/java/de/juplo/plugins/hibernate/ModificationTracker.java
+++ b/
src/main/java/de/juplo/plugins/hibernate/ModificationTracker.java
@@
-126,13
+126,13
@@
public class ModificationTracker
boolean modified()
{
- for (String property :
properties.keySet(
))
+ for (String property :
new HashSet<String>(properties.keySet()
))
if (!propertyNames.contains(property))
{
modified = true;
properties.remove(property);
}
-
for (String clazz : classes.keySet(
))
+
for (String clazz : new HashSet<String>(classes.keySet()
))
if (!classNames.contains(clazz))
{
modified = true;