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
@@ -674,7 +674,7 @@ public class FindServices {
Locale locale = (Locale) context.get("locale");
Set<String> fieldSet = null;
if (fieldList != null) {
fieldSet = UtilMisc.makeSetWritable(fieldList);
fieldSet = new LinkedHashSet<>(fieldList);
}
Integer maxRows = (Integer) context.get("maxRows");
maxRows = maxRows != null ? maxRows : -1;