Improved: Remove useless ‘UtilMisc#makeSetWritable’ method
(OFBIZ-11015) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -173,14 +173,6 @@ public final class UtilMisc {
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> Set<T> makeSetWritable(Collection<? extends T> col) {
|
||||
Set<T> result = new LinkedHashSet<>();
|
||||
if (col != null) {
|
||||
result.addAll(col);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* This change a Map to be Serializable by removing all entries with values that are not Serializable.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user