if(logMINOR) Logger.minor(this, "Not compressing "+origData+" size = "+origSize+" block size = "+blockSize);
HashResult[] hashes = null;
if(wantHashes != 0) {
// Need to get the hashes anyway
NullOutputStream nos = new NullOutputStream();
MultiHashOutputStream hasher = new MultiHashOutputStream(nos, wantHashes);
try {
BucketTools.copyTo(data, hasher, data.size());
} catch (IOException e) {
throw new InsertException(InsertExceptionMode.BUCKET_ERROR, "I/O error generating hashes", e, null);
}
hashes = hasher.getResults();
}
final CompressionOutput output = new CompressionOutput(data, null, hashes);
context.getJobRunner(persistent).queueNormalOrDrop(new PersistentJob() {
@Override