Permalink
Browse files

BATCH-1813: fix cacheing in BeanWrapperFieldSetMapper

  • Loading branch information...
1 parent a723f22 commit 91780bef1e5dda71a91331ecfdff5c2a818a484a @dsyer dsyer committed Jul 17, 2012
@@ -282,9 +282,7 @@ private Properties getBeanProperties(Object bean, Properties properties) {
}
}
- if (!propertiesMatched.containsKey(distanceKey)) {
- propertiesMatched.putIfAbsent(distanceKey, new ConcurrentHashMap<String, String>(matches));
- }
+ propertiesMatched.replace(distanceKey, new ConcurrentHashMap<String, String>(matches));
return properties;
}

0 comments on commit 91780be

Please sign in to comment.