removed debug output

This commit is contained in:
nvt-se 2009-08-04 10:39:13 +00:00
parent 0f1f50d9c8
commit 44772060af
2 changed files with 3 additions and 4 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: CoffeeFS.java,v 1.1 2009/08/04 10:36:53 nvt-se Exp $
* $Id: CoffeeFS.java,v 1.2 2009/08/04 10:39:13 nvt-se Exp $
*
* @author Nicolas Tsiftes
*
@ -146,9 +146,9 @@ public class CoffeeFS {
try {
File file = new File(filename);
FileInputStream input = new FileInputStream(file);
System.out.println("file length: " + file.length() + ", page count: " + pageCount(file.length()));
int allocatePages = pageCount(file.length());
int start = findFreeExtent(allocatePages);
if(start == INVALID_PAGE) {
return null;
}

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: CoffeeFile.java,v 1.1 2009/08/04 10:36:53 nvt-se Exp $
* $Id: CoffeeFile.java,v 1.2 2009/08/04 10:39:13 nvt-se Exp $
*
* @author Nicolas Tsiftes
*
@ -86,7 +86,6 @@ public class CoffeeFile {
startOffset + length);
length++;
}
System.out.println("inserted bytes: " + length);
}
public void saveContents(String filename) throws IOException {