You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by ma...@apache.org on 2015/10/10 08:54:38 UTC

[07/10] oodt git commit: fix javadoc

fix javadoc


Project: http://git-wip-us.apache.org/repos/asf/oodt/repo
Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/9e2a0574
Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/9e2a0574
Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/9e2a0574

Branch: refs/heads/master
Commit: 9e2a0574394a3516515a18c26f639ba79e733f02
Parents: d653cb0
Author: Tom Barber <to...@analytical-labs.com>
Authored: Sat Oct 10 07:25:00 2015 +0100
Committer: Tom Barber <to...@analytical-labs.com>
Committed: Sat Oct 10 07:25:00 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/9e2a0574/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 da104b3..e572ee3 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
@@ -71,7 +71,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
    */
@@ -86,7 +86,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
@@ -99,7 +99,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++) {