Browse Source

cleanup a few loose ends

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277403 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 20 years ago
parent
commit
460d33f418
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      src/main/org/apache/tools/ant/taskdefs/repository/Library.java

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

@@ -72,7 +72,7 @@ public class Library implements EnabledLibraryElement {
private String destinationName;

/**
* file mapped to this one
* this is a file reference which is created during binding
*/
private File libraryFile;

@@ -190,11 +190,11 @@ public class Library implements EnabledLibraryElement {
}

/**
* set the library file.
* @param libraryFile
* set the library file. Hidden from Ant users.
* @param file
*/
public void setLibraryFile(File libraryFile) {
this.libraryFile = libraryFile;
public void _setLibraryFile(File file) {
this.libraryFile = file;
}

/**
@@ -222,7 +222,6 @@ public class Library implements EnabledLibraryElement {
//adopt the name of the project if no archive is specced
archive=project;
}
faultIfEmpty(archive, ERROR_NO_ARCHIVE);
faultIfEmpty(version, ERROR_NO_VERSION);
if(suffix==null) {
suffix="";


Loading…
Cancel
Save