You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2005/09/28 23:13:05 UTC

svn commit: r292300 - /jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java

Author: scolebourne
Date: Wed Sep 28 14:13:01 2005
New Revision: 292300

URL: http://svn.apache.org/viewcvs?rev=292300&view=rev
Log:
Remove unused local variable

Modified:
    jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java

Modified: jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java?rev=292300&r1=292299&r2=292300&view=diff
==============================================================================
--- jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java (original)
+++ jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java Wed Sep 28 14:13:01 2005
@@ -13,11 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-
 package org.apache.commons.io.output;
 
-
 import java.io.IOException;
 import java.io.File;
 
@@ -50,7 +47,7 @@
     public void testFileLocked() throws IOException {
         LockableFileWriter lfw = new LockableFileWriter(this.file);
         try {
-            LockableFileWriter lfw2 = new LockableFileWriter(this.file);
+            new LockableFileWriter(this.file);
             fail("Somehow able to open a locked file. ");
         } catch(IOException ioe) {
             String msg = ioe.getMessage();



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org