Index: /home/tverhagen/dev_ext/ivy/src/java/org/apache/ivy/plugins/repository/ssh/AbstractSshBasedRepository.java =================================================================== --- /home/tverhagen/dev_ext/ivy/src/java/org/apache/ivy/plugins/repository/ssh/AbstractSshBasedRepository.java (revision 552422) +++ /home/tverhagen/dev_ext/ivy/src/java/org/apache/ivy/plugins/repository/ssh/AbstractSshBasedRepository.java (working copy) @@ -119,9 +119,9 @@ /** * closes the session and remove it from the cache (eg. on case of errors) * - * @param uri + * @param session * key for the cache - * @param conn + * @param pathOrUri * to release */ protected void releaseSession(Session session, String pathOrUri) { @@ -173,7 +173,7 @@ } /** - * @param user + * @param password * password to use for user/password authentication */ public void setUserPassword(String password) { Index: /home/tverhagen/dev_ext/ivy/src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java =================================================================== --- /home/tverhagen/dev_ext/ivy/src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java (revision 552422) +++ /home/tverhagen/dev_ext/ivy/src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java (working copy) @@ -250,7 +250,7 @@ /** * retrieves an sftp channel from the cache * - * @param host + * @param session * to connect to * @return channelSftp or null if not successful (channel not existent or dead) */ @@ -272,7 +272,7 @@ * * @param session * to attach the channel to - * @param channelSftp + * @param channel * channel to attach */ public void attachChannelSftp(Session session, ChannelSftp channel) { @@ -286,8 +286,6 @@ /** * Gets a session from the cache or establishes a new session if necessary * - * @param username - * for the session to use * @param host * to connect to * @param port @@ -292,7 +290,9 @@ * to connect to * @param port * to use for session (-1 == use standard port) - * @param password + * @param username + * for the session to use + * @param userPassword * to use for authentication (optional) * @param pemFile * File to use for public key authentication Index: /home/tverhagen/dev_ext/ivy/src/java/org/apache/ivy/plugins/repository/ssh/SshRepository.java =================================================================== --- /home/tverhagen/dev_ext/ivy/src/java/org/apache/ivy/plugins/repository/ssh/SshRepository.java (revision 552422) +++ /home/tverhagen/dev_ext/ivy/src/java/org/apache/ivy/plugins/repository/ssh/SshRepository.java (working copy) @@ -62,10 +62,12 @@ } /** + * TODO Check this comment + * * fetch the needed file information for a given file (size, last modification time) and report * it back in a SshResource * - * @param uri + * @param source * ssh uri for the file to get info for * @return SshResource filled with the needed informations * @see org.apache.ivy.plugins.repository.Repository#getResource(java.lang.String)