Removed excessive print
This commit is contained in:
@@ -131,7 +131,6 @@ public class ZipUtils {
|
|||||||
{
|
{
|
||||||
ZipEntry zipEntry = zipEntries.nextElement();
|
ZipEntry zipEntry = zipEntries.nextElement();
|
||||||
File newFile = new File(destination, zipEntry.getName());
|
File newFile = new File(destination, zipEntry.getName());
|
||||||
System.out.println("Got file " + newFile.getAbsolutePath());
|
|
||||||
//create sub directories
|
//create sub directories
|
||||||
newFile.getParentFile().mkdirs();
|
newFile.getParentFile().mkdirs();
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
package com.flaremicro.test.util;
|
package com.flaremicro.test.util;
|
||||||
|
|
||||||
import java.io.EOFException;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
@@ -28,7 +27,7 @@ public class InOutBuffer {
|
|||||||
synchronized (buffer)
|
synchronized (buffer)
|
||||||
{
|
{
|
||||||
if (buffer.size() <= 0)
|
if (buffer.size() <= 0)
|
||||||
throw new EOFException("End of file");
|
return -1;
|
||||||
return buffer.remove(0) & 0xFF;
|
return buffer.remove(0) & 0xFF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user