HHH-9695 - Fix merge conflicts and checkStyle failure

This commit is contained in:
Andrea Boriero 2015-05-27 19:50:26 +01:00
parent ccc83405c4
commit 6417a469f9
5 changed files with 16 additions and 14 deletions

View File

@ -48,7 +48,8 @@ public class EntityRegionImpl extends BaseTransactionalDataRegion implements Ent
case TRANSACTIONAL:
if ( getCacheDataDescription().isMutable() ) {
return new TransactionalAccess( this );
} else {
}
else {
return new ReadOnlyAccess( this );
}
default:

View File

@ -254,7 +254,8 @@ public class Caches {
CloseableIterator it = cache.keySet().iterator();
try {
while (it.hasNext()) {
it.next(); // Necessary to get next element
// Necessary to get next element
it.next();
it.remove();
}
}