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 * <ol> * <li>Policies are executed in order of declaration. - * <li>The [EMAIL PROTECTED] #beforeConnect(org.apache.tools.ant.taskdefs.repository.Libraries, java.util.ListIterator)} call, + * <li>The [EMAIL PROTECTED] #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. * <li>If any policy returns false from the method, the connection does not proceed. * This is not an error, provided the files are actually present. * <li>After running through the fetch of all files marked for download, * every policy implementation will again be called in order of declaration. - * <li>The [EMAIL PROTECTED] #afterFetched(org.apache.tools.ant.taskdefs.repository.Libraries, java.util.ListIterator)} method + * <li>The [EMAIL PROTECTED] #afterFetched(org.apache.tools.ant.taskdefs.repository.Libraries, + * java.util.ListIterator)} method * does not return anything. * <li>Either method can throw a BuildException to indicate some kind of error. * </ol> @@ -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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]