All pastes #88386 Raw Edit

Mine

public text v1 · immutable
#88386 ·published 2006-07-14 21:12 UTC
rendered paste body
        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()); 
            }