Skip to content
Permalink
Browse files

Improved: Do not use ‘java.util’ backported classes

(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 2d01c1e14220d5d62a445fc0a05463bf4451ee29
@@ -28,6 +28,7 @@
import java.io.Writer;
import java.nio.ByteBuffer;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
@@ -49,8 +50,6 @@
import org.apache.ofbiz.service.ModelService;
import org.apache.ofbiz.service.ServiceUtil;

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

/**
* DataServices Class
*/
@@ -20,6 +20,7 @@

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

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

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

0 comments on commit 2d01c1e

Please sign in to comment.
You can’t perform that action at this time.