Author: j16sdiz
Date: 2008-10-25 00:10:42 +0000 (Sat, 25 Oct 2008)
New Revision: 23093
Modified:
trunk/freenet/src/freenet/client/async/SingleFileInserter.java
Log:
indent
Modified: trunk/freenet/src/freenet/client/async/SingleFileInserter.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SingleFileInserter.java
2008-10-25 00:10:20 UTC (rev 23092)
+++ trunk/freenet/src/freenet/client/async/SingleFileInserter.java
2008-10-25 00:10:42 UTC (rev 23093)
@@ -170,7 +170,7 @@
// Try to compress the data.
// Try each algorithm, starting with the fastest and
weakest.
// Stop when run out of algorithms, or the compressed
data fits in a single block.
- for(COMPRESSOR_TYPE comp :
COMPRESSOR_TYPE.values()) {
+ for(COMPRESSOR_TYPE comp : COMPRESSOR_TYPE.values()) {
try {
if(logMINOR)
Logger.minor(this, "Attempt to
compress using " + comp);
@@ -200,14 +200,14 @@
result.free();
} catch(IOException e) {
- throw new
InsertException(InsertException.BUCKET_ERROR, e, null);
+ throw new
InsertException(InsertException.BUCKET_ERROR, e, null);
} catch(CompressionOutputSizeException e) {
- // Impossible
- // throw new
InsertException(InsertException.INTERNAL_ERROR, e,null);
+ // Impossible
+ // throw new
InsertException(InsertException.INTERNAL_ERROR, e,null);
continue; // try next compressor
type
+ }
}
}
- }
boolean shouldFreeData = false;
if(bestCompressedData != null) {
if(logMINOR) Logger.minor(this, "The best compression
algorithm is "+bestCodec+ " we have gained "+
(100-(bestCompressedDataSize*100/origSize)) +"% !
("+origSize+'/'+bestCompressedDataSize+')');