@Override public BufferResult getResult() throws IllegalStateException { if(!isClosed) throw new IllegalStateException(); if(result==null) { if(length==0) { result = EmptyResult.getInstance(); } else { result = new TempFileResult(tempFile, 0, length); } } return result; } }
} else { return new TempFileResult( tempFile, newStart,