From 460d33f41866020828871b0f4b58196ab56961fc Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Thu, 20 Jan 2005 23:09:15 +0000 Subject: [PATCH] cleanup a few loose ends git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277403 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tools/ant/taskdefs/repository/Library.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 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 1e3cf7ad8..b634f5220 100644 --- a/src/main/org/apache/tools/ant/taskdefs/repository/Library.java +++ b/src/main/org/apache/tools/ant/taskdefs/repository/Library.java @@ -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="";