|
@@ -1,6 +1,5 @@
|
|
|
package com.lantone.qc.pub.util;
|
|
|
|
|
|
-import com.google.common.collect.Sets;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -129,10 +128,10 @@ public class StringUtil {
|
|
|
* @param target
|
|
|
* @return
|
|
|
*/
|
|
|
- public static boolean isSameContent(List<String> source, List<String> target) {
|
|
|
- Set<String> sourceSet = Sets.newHashSet(source);
|
|
|
- Set<String> targetSet = Sets.newHashSet(target);
|
|
|
- return Sets.difference(sourceSet, targetSet).isEmpty() && Sets.difference(targetSet, sourceSet).isEmpty();
|
|
|
- }
|
|
|
+// public static boolean isSameContent(List<String> source, List<String> target) {
|
|
|
+// Set<String> sourceSet = Sets.newHashSet(source);
|
|
|
+// Set<String> targetSet = Sets.newHashSet(target);
|
|
|
+// return Sets.difference(sourceSet, targetSet).isEmpty() && Sets.difference(targetSet, sourceSet).isEmpty();
|
|
|
+// }
|
|
|
|
|
|
}
|