Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 1420 invoked from network); 28 Sep 2005 21:13:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2005 21:13:29 -0000 Received: (qmail 36093 invoked by uid 500); 28 Sep 2005 21:13:26 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 36031 invoked by uid 500); 28 Sep 2005 21:13:26 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 35992 invoked by uid 500); 28 Sep 2005 21:13:25 -0000 Received: (qmail 35987 invoked by uid 99); 28 Sep 2005 21:13:25 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 28 Sep 2005 14:13:25 -0700 Received: (qmail 1211 invoked by uid 65534); 28 Sep 2005 21:13:05 -0000 Message-ID: <20050928211305.1210.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commons-cvs@jakarta.apache.org From: scolebourne@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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