This commit is contained in:
Shikhar Bhushan
2010-03-21 01:31:41 +01:00
parent 53d8d548cf
commit 7a2850d760
4 changed files with 3 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ public abstract class AbstractAuthMethod
/** {@link AuthParams} useful for building request. */
protected AuthParams params;
/** Create with the {@code name} of this authentication method. */
/** @param name the {@code name} of this authentication method. */
protected AbstractAuthMethod(String name) {
this.name = name;
}

View File

@@ -43,8 +43,7 @@ public class AuthHostbased
protected SSHPacket buildReq()
throws UserAuthException {
SSHPacket req = putPubKey(super.buildReq());
req.putString(hostname == null ? params.getTransport().getRemoteHost() : hostname) //
.putString(hostuser);
req.putString(hostname == null ? params.getTransport().getRemoteHost() : hostname).putString(hostuser);
return putSig(req);
}

View File

@@ -57,7 +57,7 @@ public interface ModeGetter {
int getPermissions(File f)
throws IOException;
/** Whether this implementation can provide mtime and atime information. */
/** @return whether this implementation can provide mtime and atime information. */
boolean preservesTimes();
}

View File

@@ -162,7 +162,6 @@ public final class SCPDownloadClient
signal("ACK: D");
do {
;
} while (!process(null, readMessage(), f));
signal("ACK: E");