There was an error while loading. Please reload this page.
2 parents c03797e + e98b073 commit 9dfd524Copy full SHA for 9dfd524
1 file changed
src/main/java/org/mybatis/caches/ehcache/ObjectSerializer.java
@@ -39,10 +39,10 @@ public class ObjectSerializer implements Serializer<Object> {
39
* Constructor required by Ehcache 3's serializer contract.
40
*
41
* @param loader
42
- * the class loader to use when deserialising objects
+ * the class loader supplied by Ehcache; currently unused
43
*/
44
- public ObjectSerializer(ClassLoader loader) {
45
- // class loader is not used; standard ObjectInputStream resolves classes through the context class loader
+ public ObjectSerializer(@SuppressWarnings("unused") ClassLoader loader) {
+ // Intentionally unused; Java serialization uses the default class resolution mechanism.
46
}
47
48
@Override
0 commit comments