Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 60039 invoked from network); 21 Jan 2005 14:27:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Jan 2005 14:27:32 -0000 Received: (qmail 30222 invoked by uid 500); 21 Jan 2005 14:27:30 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 30162 invoked by uid 500); 21 Jan 2005 14:27:30 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 30149 invoked by uid 500); 21 Jan 2005 14:27:30 -0000 Received: (qmail 30134 invoked by uid 99); 21 Jan 2005 14:27:30 -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 minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 21 Jan 2005 06:27:29 -0800 Received: (qmail 59941 invoked by uid 1539); 21 Jan 2005 14:27:28 -0000 Date: 21 Jan 2005 14:27:28 -0000 Message-ID: <20050121142728.59940.qmail@minotaur.apache.org> From: peterreilly@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/repository Library.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N peterreilly 2005/01/21 06:27:28 Modified: src/main/org/apache/tools/ant/taskdefs/repository Library.java Log: space around operands Revision Changes Path 1.8 +5 -5 ant/src/main/org/apache/tools/ant/taskdefs/repository/Library.java Index: Library.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/repository/Library.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Library.java 21 Jan 2005 13:15:34 -0000 1.7 +++ Library.java 21 Jan 2005 14:27:28 -0000 1.8 @@ -218,13 +218,13 @@ */ public void validate() { faultIfEmpty(project, ERROR_NO_PROJECT); - if(archive==null) { + if (archive == null) { //adopt the name of the project if no archive is specced - archive=project; + archive = project; } faultIfEmpty(version, ERROR_NO_VERSION); - if(suffix==null) { - suffix=""; + if (suffix == null) { + suffix = ""; } } @@ -250,7 +250,7 @@ public void bind(File baseDir, boolean flatten) { validate(); if (destinationName == null) { - if(flatten) { + if (flatten) { destinationName = getNormalFilename(); } else { destinationName = getMavenPath('/'); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org