Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 61676 invoked from network); 21 Jan 2005 14:30:42 -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:30:42 -0000 Received: (qmail 37190 invoked by uid 500); 21 Jan 2005 14:30:39 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 37142 invoked by uid 500); 21 Jan 2005 14:30:39 -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 37129 invoked by uid 500); 21 Jan 2005 14:30:39 -0000 Received: (qmail 37126 invoked by uid 99); 21 Jan 2005 14:30:39 -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:30:38 -0800 Received: (qmail 61580 invoked by uid 1539); 21 Jan 2005 14:30:37 -0000 Date: 21 Jan 2005 14:30:37 -0000 Message-ID: <20050121143037.61579.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 LibraryPolicy.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N peterreilly 2005/01/21 06:30:37 Modified: src/main/org/apache/tools/ant/taskdefs/repository LibraryPolicy.java Log: no need to declare methods as public in a public interface 100 line limit Revision Changes Path 1.4 +6 -4 ant/src/main/org/apache/tools/ant/taskdefs/repository/LibraryPolicy.java Index: LibraryPolicy.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/repository/LibraryPolicy.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- LibraryPolicy.java 22 Nov 2004 09:23:35 -0000 1.3 +++ LibraryPolicy.java 21 Jan 2005 14:30:37 -0000 1.4 @@ -27,14 +27,16 @@ * Here is the use *
    *
  1. Policies are executed in order of declaration. - *
  2. The {@link #beforeConnect(org.apache.tools.ant.taskdefs.repository.Libraries, java.util.ListIterator)} call, + *
  3. The {@link #beforeConnect(org.apache.tools.ant.taskdefs.repository.Libraries, + * java.util.ListIterator)} call, * is called before any connection has been initiated; policies can manipulate * the library list, set/reset their toFetch list, rename destination files, etc. *
  4. If any policy returns false from the method, the connection does not proceed. * This is not an error, provided the files are actually present. *
  5. After running through the fetch of all files marked for download, * every policy implementation will again be called in order of declaration. - *
  6. The {@link #afterFetched(org.apache.tools.ant.taskdefs.repository.Libraries, java.util.ListIterator)} method + *
  7. The {@link #afterFetched(org.apache.tools.ant.taskdefs.repository.Libraries, + * java.util.ListIterator)} method * does not return anything. *
  8. Either method can throw a BuildException to indicate some kind of error. *
@@ -55,7 +57,7 @@ * @throws org.apache.tools.ant.BuildException * if needed */ - public boolean beforeConnect(Libraries owner, ListIterator libraries); + boolean beforeConnect(Libraries owner, ListIterator libraries); /** * method called after a successful connection process. @@ -63,7 +65,7 @@ * @param libraries * @throws org.apache.tools.ant.BuildException */ - public void afterFetched(Libraries owner, ListIterator libraries); + void afterFetched(Libraries owner, ListIterator libraries); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org