Browse Source

space around operands

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277412 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 21 years ago
parent
commit
25de419a12
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/main/org/apache/tools/ant/taskdefs/repository/Library.java

+ 5
- 5
src/main/org/apache/tools/ant/taskdefs/repository/Library.java View File

@@ -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('/');


Loading…
Cancel
Save