Mine
public text v1 · immutable for (int x=0; x<registry_list.size() - 1;x++) {
if(((String) registry_list.get(x)).substring(0, 14).equals(((String) registry_list.get(x + 1)).substring(0, 14))) {
removal_list.add(registry_list.get(x));
}
}
for(Iterator it = removal_list.iterator(); it.hasNext(); ) {
registry_list.remove(it.next());
}