[jetrix-cvs] jetrix/src/java/net/jetrix/tools/patcher UpdateList.java,1.1,1.2
Brought to you by:
smanux
From: Emmanuel B. <sm...@us...> - 2005-05-04 21:14:29
|
Update of /cvsroot/jetrix/jetrix/src/java/net/jetrix/tools/patcher In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20175/src/java/net/jetrix/tools/patcher Modified Files: UpdateList.java Log Message: Renamed the crc file to update.crc Index: UpdateList.java =================================================================== RCS file: /cvsroot/jetrix/jetrix/src/java/net/jetrix/tools/patcher/UpdateList.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** UpdateList.java 12 Jan 2005 18:56:30 -0000 1.1 --- UpdateList.java 4 May 2005 21:14:21 -0000 1.2 *************** *** 31,34 **** --- 31,36 ---- public class UpdateList { + private static final String CRC_FILE = "update.crc"; + private static String path; private static PrintWriter out; *************** *** 45,49 **** } ! out = new PrintWriter(new FileWriter(path + File.separator + "update.crc"), true); browseDirectory(new File(path)); --- 47,51 ---- } ! out = new PrintWriter(new FileWriter(path + File.separator + CRC_FILE), true); browseDirectory(new File(path)); *************** *** 70,74 **** String name = f.toString().substring(path.toString().length() + 1); ! if (!"update".equals(name)) { out.println(name + "\t" + getFileCRC32(f) + "\t" + f.length()); --- 72,76 ---- String name = f.toString().substring(path.toString().length() + 1); ! if (!CRC_FILE.equals(name)) { out.println(name + "\t" + getFileCRC32(f) + "\t" + f.length()); |