Skip to content

Commit 61f777b

Browse files
committed
renamed inner class
1 parent 93a8f5a commit 61f777b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/apache/ibatis/cache/decorators/SerializedCache.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private Serializable deserialize(byte[] value) {
9595
Serializable result;
9696
try {
9797
ByteArrayInputStream bis = new ByteArrayInputStream((byte[]) value);
98-
ObjectInputStream ois = new ThreadContextObjectInputStream(bis);
98+
ObjectInputStream ois = new CustomObjectInputStream(bis);
9999
result = (Serializable) ois.readObject();
100100
ois.close();
101101
} catch (Exception e) {
@@ -104,9 +104,9 @@ private Serializable deserialize(byte[] value) {
104104
return result;
105105
}
106106

107-
public static class ThreadContextObjectInputStream extends ObjectInputStream {
107+
public static class CustomObjectInputStream extends ObjectInputStream {
108108

109-
public ThreadContextObjectInputStream(InputStream in) throws IOException {
109+
public CustomObjectInputStream(InputStream in) throws IOException {
110110
super(in);
111111
}
112112

0 commit comments

Comments
 (0)