From: <sim...@us...> - 2002-07-30 12:51:14
|
Update of /cvsroot/cdchamber/CDChamber/aspect/gen/org/cdchamber/elements In directory usw-pr-cvs1:/tmp/cvs-serv26341/aspect/gen/org/cdchamber/elements Modified Files: DirectoryTypeWrapper.java Log Message: Bug fix for file size sum. Index: DirectoryTypeWrapper.java =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/aspect/gen/org/cdchamber/elements/DirectoryTypeWrapper.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** DirectoryTypeWrapper.java 26 Jul 2002 13:17:20 -0000 1.4 --- DirectoryTypeWrapper.java 30 Jul 2002 12:51:05 -0000 1.5 *************** *** 17,21 **** File[] files = dir.listFiles(); ! int sumSize = 0; for ( int i=0; i<files.length; i++) { if ( !FileFilters.accept( files[i])) continue; --- 17,21 ---- File[] files = dir.listFiles(); ! long sumSize = 0; for ( int i=0; i<files.length; i++) { if ( !FileFilters.accept( files[i])) continue; |