Skip to content

Commit 6fec54a

Browse files
ljacometsebersole
authored andcommitted
HHH-10773 Update toString of the READ_WRITE JCache Item
It now matches the toString of StandardCacheEntryImpl
1 parent cab099c commit 6fec54a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hibernate-jcache/src/main/java/org/hibernate/cache/jcache/access/AbstractReadWriteRegionAccessStrategy.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,11 @@ public int hashCode() {
266266

267267
@Override
268268
public String toString() {
269-
return value.toString() + " version: " + version;
269+
return "Item{" +
270+
"value=" + value +
271+
", version=" + version +
272+
", timestamp=" + timestamp +
273+
'}';
270274
}
271275
}
272276

0 commit comments

Comments
 (0)