SyncImageSizeReply reply = r.castReply();
if (!res.containsKey(image.getUuid())) {
res.put(image.getUuid(), reply.getActualSize());
}
}
<BUG>for (Map.Entry<String, Long> entry: res.entrySet()) {
UpdateQuery.New()
.entity(ImageCacheVO.class)</BUG>
.set(ImageCacheVO_.size, entry.getValue())
.condAnd(ImageCacheVO_.imageUuid, SimpleQuery.Op.EQ, entry.getKey())

SyncImageSizeReply reply = r.castReply();
if (!res.containsKey(image.getUuid())) {
res.put(image.getUuid(), reply.getActualSize());
}
}
for (Map.Entry<String, Long> entry: res.entrySet()) {
UpdateQuery.New(ImageCacheVO.class)
.set(ImageCacheVO_.size, entry.getValue())
.condAnd(ImageCacheVO_.imageUuid, SimpleQuery.Op.EQ, entry.getKey())
