From: Holger Z. <hz...@us...> - 2004-10-07 14:14:48
|
Update of /cvsroot/jake2/jake2/src/jake2/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25032/src/jake2/util Modified Files: Lib.java Log Message: remove some unreferenced functions Index: Lib.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/util/Lib.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Lib.java 4 Oct 2004 12:50:38 -0000 1.7 --- Lib.java 7 Oct 2004 14:12:59 -0000 1.8 *************** *** 24,28 **** package jake2.util; - import jake2.Defines; import jake2.Globals; import jake2.qcommon.Com; --- 24,27 ---- *************** *** 71,77 **** return in1.compareTo(in2); } ! public static boolean strstr(String i1, String i2) { ! return (i1.indexOf(i2) != -1); ! } public static float atof(String in) { float res = 0; --- 70,74 ---- return in1.compareTo(in2); } ! public static float atof(String in) { float res = 0; *************** *** 122,130 **** return in.length; } ! static byte[] buffer = new byte[Defines.MAX_INFO_STRING]; ! public static String readString(ByteBuffer bb, int len) { ! bb.get(buffer, 0, len); ! return new String(buffer, 0, len); ! } public static String hexdumpfile(ByteBuffer bb, int len) throws IOException { --- 119,123 ---- return in.length; } ! public static String hexdumpfile(ByteBuffer bb, int len) throws IOException { |