File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/apache/ibatis/cache/decorators Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ private Serializable deserialize(byte[] value) {
95
95
Serializable result ;
96
96
try {
97
97
ByteArrayInputStream bis = new ByteArrayInputStream ((byte []) value );
98
- ObjectInputStream ois = new ThreadContextObjectInputStream (bis );
98
+ ObjectInputStream ois = new CustomObjectInputStream (bis );
99
99
result = (Serializable ) ois .readObject ();
100
100
ois .close ();
101
101
} catch (Exception e ) {
@@ -104,9 +104,9 @@ private Serializable deserialize(byte[] value) {
104
104
return result ;
105
105
}
106
106
107
- public static class ThreadContextObjectInputStream extends ObjectInputStream {
107
+ public static class CustomObjectInputStream extends ObjectInputStream {
108
108
109
- public ThreadContextObjectInputStream (InputStream in ) throws IOException {
109
+ public CustomObjectInputStream (InputStream in ) throws IOException {
110
110
super (in );
111
111
}
112
112
You can’t perform that action at this time.
0 commit comments