for (Iterator i = srcDirList.iterator(); i.hasNext(); ) { String srcDir = (String) i.next();
for (Iterator<String> i = srcDirList.iterator(); i.hasNext(); ) { String srcDir = i.next();
    public void write(OutputStream out) throws IOException {        PrintWriter writer = new PrintWriter(new OutputStreamWriter(out));        writer.println(JAR_FILES_KEY);        for (Iterator i = jarList.iterator(); i.hasNext(); ) {            String jarFile = (String) i.next();            writer.println(jarFile);        }        writer.println(SRC_DIRS_KEY);        for (Iterator i = srcDirList.iterator(); i.hasNext(); ) {            String srcDir = (String) i.next();            writer.println(srcDir);        }        writer.println(AUX_CLASSPATH_ENTRIES_KEY);        for (Iterator i = auxClasspathEntryList.iterator(); i.hasNext(); ) {            String auxClasspathEntry = (String) i.next();            writer.println(auxClasspathEntry);        }        writer.close();                // Project successfully saved        isModified = false;    }