I found that shenyu uses org.apache.shenyu.common.utils.CollectionUtils, but org.apache.commons.collections4.CollectionUtils provides the corresponding methods. Do I need to replace org.apache.shenyu.common.utils.CollectionUtils with org.apache.commons.collections4.CollectionUtils.
org.apache.shenyu.common.utils.CollectionUtils
public class CollectionUtils {
/**
* Is empty boolean.
*
* @param coll the coll
* @return the boolean
*/
public static boolean isEmpty(final Collection<?> coll) {
return coll == null || coll.isEmpty();
}
/**
* Is not empty boolean.
*
* @param coll the coll
* @return the boolean
*/
public static boolean isNotEmpty(final Collection<?> coll) {
return !isEmpty(coll);
}
}
Question
I found that shenyu uses
org.apache.shenyu.common.utils.CollectionUtils
, butorg.apache.commons.collections4.CollectionUtils
provides the corresponding methods. Do I need to replaceorg.apache.shenyu.common.utils.CollectionUtils
withorg.apache.commons.collections4.CollectionUtils
.org.apache.shenyu.common.utils.CollectionUtils
org.apache.commons.collections4.CollectionUtils
If a replacement is needed, please assign that task to me, thanks~