diff --git a/src/main/org/apache/tools/ant/taskdefs/repository/LibraryPolicy.java b/src/main/org/apache/tools/ant/taskdefs/repository/LibraryPolicy.java
index ced3bd5fe..962ad7f8a 100644
--- a/src/main/org/apache/tools/ant/taskdefs/repository/LibraryPolicy.java
+++ b/src/main/org/apache/tools/ant/taskdefs/repository/LibraryPolicy.java
@@ -27,14 +27,16 @@ import java.util.ListIterator;
* Here is the use
*
* - Policies are executed in order of declaration.
- *
- The {@link #beforeConnect(org.apache.tools.ant.taskdefs.repository.Libraries, java.util.ListIterator)} call,
+ *
- 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.
*
- If any policy returns false from the method, the connection does not proceed.
* This is not an error, provided the files are actually present.
*
- After running through the fetch of all files marked for download,
* every policy implementation will again be called in order of declaration.
- *
- The {@link #afterFetched(org.apache.tools.ant.taskdefs.repository.Libraries, java.util.ListIterator)} method
+ *
- The {@link #afterFetched(org.apache.tools.ant.taskdefs.repository.Libraries,
+ * java.util.ListIterator)} method
* does not return anything.
*
- Either method can throw a BuildException to indicate some kind of error.
*
@@ -55,7 +57,7 @@ public interface LibraryPolicy extends EnabledLibraryElement {
* @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 @@ public interface LibraryPolicy extends EnabledLibraryElement {
* @param libraries
* @throws org.apache.tools.ant.BuildException
*/
- public void afterFetched(Libraries owner, ListIterator libraries);
+ void afterFetched(Libraries owner, ListIterator libraries);
}