Author: mthl
Date: Sun Apr 7 22:11:53 2019
New Revision: 1857088
URL:
http://svn.apache.org/viewvc?rev=1857088&view=revLog:
Fixed: Remove redundant interface declaration (OFBIZ-10910)
‘java.io.ObjectInputStream’ already implements the ‘AutoCloseable’
interface, so there is no need to declare it in
‘SafeObjectInputStream’ which extends this class.
Modified:
ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/SafeObjectInputStream.java
Modified: ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/SafeObjectInputStream.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/SafeObjectInputStream.java?rev=1857088&r1=1857087&r2=1857088&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/SafeObjectInputStream.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/SafeObjectInputStream.java Sun Apr 7 22:11:53 2019
@@ -29,7 +29,7 @@ import java.util.regex.Pattern;
* ObjectInputStream
*
*/
-public class SafeObjectInputStream extends java.io.ObjectInputStream implements AutoCloseable {
+public class SafeObjectInputStream extends java.io.ObjectInputStream {
private ClassLoader classloader;
private Pattern WHITELIST_PATTERN = null;