From 25de419a12861476b8fd197d18700122196d620d Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Fri, 21 Jan 2005 14:27:28 +0000 Subject: [PATCH] space around operands git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277412 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tools/ant/taskdefs/repository/Library.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/repository/Library.java b/src/main/org/apache/tools/ant/taskdefs/repository/Library.java index 6ddc2c126..9f3e27a92 100644 --- a/src/main/org/apache/tools/ant/taskdefs/repository/Library.java +++ b/src/main/org/apache/tools/ant/taskdefs/repository/Library.java @@ -218,13 +218,13 @@ public class Library implements EnabledLibraryElement { */ 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 class Library implements EnabledLibraryElement { public void bind(File baseDir, boolean flatten) { validate(); if (destinationName == null) { - if(flatten) { + if (flatten) { destinationName = getNormalFilename(); } else { destinationName = getMavenPath('/');