Improved: Fix some bugs Spotbugs reports
CacheSoftReference<V> extends ReferenceCleaner.Soft<V> and implements
Serializable. But ReferenceCleaner does not implement Serializable.
I see no reasons for CacheSoftReference<V> to implement Serializable. So I
simply remove that.
*******************************************************************************/
package org.apache.ofbiz.base.util.cache;
-import java.io.Serializable;
-
import org.apache.ofbiz.base.util.Debug;
import org.apache.ofbiz.base.util.ReferenceCleaner;
-@SuppressWarnings("serial")
-public abstract class CacheSoftReference<V> extends ReferenceCleaner.Soft<V> implements Serializable {
+public abstract class CacheSoftReference<V> extends ReferenceCleaner.Soft<V> {
private static final String MODULE = CacheSoftReference.class.getName();
