Skip to content

Commit

Permalink
Improved: Do not use ‘java.util’ backported classes
Browse files Browse the repository at this point in the history
(OFBIZ-11003)

Probably due to some IDE auto-importing mistake, some classes meant as
backports of the ‘java.util.Arrays’ and ‘java.util.Collections’
classes were imported.  This make no sense since we are requiring
Java 8 which already provides those.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858480 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed May 1, 2019
1 parent 282270d commit 2d01c1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Expand Up @@ -28,6 +28,7 @@
import java.io.Writer; import java.io.Writer;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.util.Arrays;
import java.util.HashMap; import java.util.HashMap;
import java.util.Locale; import java.util.Locale;
import java.util.Map; import java.util.Map;
Expand All @@ -49,8 +50,6 @@
import org.apache.ofbiz.service.ModelService; import org.apache.ofbiz.service.ModelService;
import org.apache.ofbiz.service.ServiceUtil; import org.apache.ofbiz.service.ServiceUtil;


import edu.emory.mathcs.backport.java.util.Arrays;

/** /**
* DataServices Class * DataServices Class
*/ */
Expand Down
Expand Up @@ -20,6 +20,7 @@


import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
Expand All @@ -31,8 +32,6 @@
import org.apache.ofbiz.base.util.Debug; import org.apache.ofbiz.base.util.Debug;
import org.apache.ofbiz.base.util.UtilValidate; import org.apache.ofbiz.base.util.UtilValidate;


import edu.emory.mathcs.backport.java.util.Collections;

/** /**
* An object that loads containers (background processes). * An object that loads containers (background processes).
* *
Expand Down

0 comments on commit 2d01c1e

Please sign in to comment.