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:
Mathieu Lirzin
2019-05-08 21:42:27 +00:00
parent 247367871c
commit e8a656785a
5 changed files with 7 additions and 12 deletions
@@ -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.
*