in src/main/java/com/google/gcs/sdrs/service/worker/rule/impl/StsRuleExecutor.java [538:559]
private boolean isSamePrefixList(List<String> oldList, List<String> newList) {
if (oldList == null && newList == null) {
return true;
}
if (oldList == null || newList == null) {
return false;
}
if (oldList.size() != newList.size()) {
return false;
}
Collections.sort(oldList);
Collections.sort(newList);
if (oldList.equals(newList)) {
return true;
}
return false;
}