commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r292300 - /jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java
Date Wed, 28 Sep 2005 21:13:05 GMT
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


Mime
View raw message