Skip to content

Commit 747c12c

Browse files
author
Stephen Colebourne
committed
Remove unused local variable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@292300 13f79535-47bb-0310-9956-ffa450edef68
1 parent 0e8346c commit 747c12c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/test/org/apache/commons/io/output/LockableFileWriterTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@
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

20-
2118
import java.io.IOException;
2219
import java.io.File;
2320

@@ -50,7 +47,7 @@ public void tearDown() {
5047
public void testFileLocked() throws IOException {
5148
LockableFileWriter lfw = new LockableFileWriter(this.file);
5249
try {
53-
LockableFileWriter lfw2 = new LockableFileWriter(this.file);
50+
new LockableFileWriter(this.file);
5451
fail("Somehow able to open a locked file. ");
5552
} catch(IOException ioe) {
5653
String msg = ioe.getMessage();

0 commit comments

Comments
 (0)