Update of /cvsroot/freenet/freenet/src/freenet/support In directory sc8-pr-cvs1:/tmp/cvs-serv16635/src/freenet/support
Modified Files: FileLoggerHook.java Log Message: get rid of some yellowies Index: FileLoggerHook.java =================================================================== RCS file: /cvsroot/freenet/freenet/src/freenet/support/FileLoggerHook.java,v retrieving revision 1.36 retrieving revision 1.37 diff -u -w -r1.36 -r1.37 --- FileLoggerHook.java 30 Oct 2003 01:34:01 -0000 1.36 +++ FileLoggerHook.java 31 Oct 2003 19:30:38 -0000 1.37 @@ -117,9 +117,9 @@ } protected String getHourLogName(Calendar c) { - return baseFilename + "-" + c.get(c.YEAR) + "-" + pad2(c.get(c.MONTH)) + - "-" + pad2(c.get(c.DAY_OF_MONTH)) + "-" + pad2(c.get(c.HOUR_OF_DAY)) + - (INTERVAL == c.MINUTE ? ("-" + pad2(c.get(c.MINUTE))) : ""); + return baseFilename + "-" + c.get(Calendar.YEAR) + "-" + pad2(c.get(Calendar.MONTH)) + + "-" + pad2(c.get(Calendar.DAY_OF_MONTH)) + "-" + pad2(c.get(Calendar.HOUR_OF_DAY)) + + (INTERVAL == Calendar.MINUTE ? ("-" + pad2(c.get(Calendar.MINUTE))) : ""); } protected String pad2(int x) { _______________________________________________ cvs mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs