mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
removed debug output
This commit is contained in:
parent
0f1f50d9c8
commit
44772060af
@ -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;
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user