Skip to content

Commit 48860dc

Browse files
author
Stephen Colebourne
committed
Remove unused field
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@233063 13f79535-47bb-0310-9956-ffa450edef68
1 parent c061ccf commit 48860dc

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

src/java/org/apache/commons/io/output/DeferredFileOutputStream.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2001-2004 The Apache Software Foundation.
2+
* Copyright 2001-2005 The Apache Software Foundation.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,8 +13,6 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
17-
1816
package org.apache.commons.io.output;
1917

2018
import java.io.File;
@@ -51,13 +49,6 @@ public class DeferredFileOutputStream
5149
private ByteArrayOutputStream memoryOutputStream;
5250

5351

54-
/**
55-
* The output stream to which data will be written after the theshold is
56-
* reached.
57-
*/
58-
private FileOutputStream diskOutputStream;
59-
60-
6152
/**
6253
* The output stream to which data will be written at any given time. This
6354
* will always be one of <code>memoryOutputStream</code> or
@@ -121,7 +112,6 @@ protected void thresholdReached() throws IOException
121112
{
122113
FileOutputStream fos = new FileOutputStream(outputFile);
123114
memoryOutputStream.writeTo(fos);
124-
diskOutputStream = fos;
125115
currentOutputStream = fos;
126116
memoryOutputStream = null;
127117
}

0 commit comments

Comments
 (0)