Repository: oodt Updated Branches: refs/heads/master afb8fdc4f -> 3e41007ec
fix javadoc Project: http://git-wip-us.apache.org/repos/asf/oodt/repo Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/3e41007e Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/3e41007e Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/3e41007e Branch: refs/heads/master Commit: 3e41007ec7cfd11bdff8a20cb7e71fd563a208f4 Parents: afb8fdc Author: Tom Barber <[email protected]> Authored: Sat Oct 10 07:25:00 2015 +0100 Committer: Tom Barber <[email protected]> Committed: Sat Oct 10 07:26:27 2015 +0100 ---------------------------------------------------------------------- .../oodt/cas/pushpull/protocol/ProtocolHandler.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oodt/blob/3e41007e/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java ---------------------------------------------------------------------- diff --git a/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java b/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java index b1fcb83..2512efb 100644 --- a/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java +++ b/pushpull/src/main/java/org/apache/oodt/cas/pushpull/protocol/ProtocolHandler.java @@ -75,7 +75,7 @@ public class ProtocolHandler { /** * Creates a new ProtocolHandler for the given Config object * - * @param config + * @param pi * The Config object that guides this ProtocolHandler in making class * instanciations */ @@ -90,7 +90,7 @@ public class ProtocolHandler { /** * Returns the appropriate protocol for the given Path * - * @param ProtocolPath + * @param pFile * Used to determine the appropriate Protocol to be returned and the * path to navigate on if navigateToPathLoc is set to true. * @param allowReuse @@ -103,7 +103,7 @@ public class ProtocolHandler { * If true, will navigate the to the end of the Path location * specified * @return Protocol for the given Path - * @throws RemoteCommunicationException + * @throws RemoteConnectionException * If there is an error creating the protocol */ public Protocol getAppropriateProtocol(RemoteSiteFile pFile, @@ -285,12 +285,9 @@ public class ProtocolHandler { * * @param protocol * The Protocol that will be connected - * @param url + * @param remoteSite * The server to which the Protocol will connect - * @throws RemoteConnectionException - * If connection fails - * @throws RemoteLoginException - * If login fails + * @param test */ public boolean connect(Protocol protocol, RemoteSite remoteSite, boolean test) { for (int tries = 0; tries < 3; tries++) {
