You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2019/11/17 17:35:58 UTC
[mina-sshd] 02/06: Fixed some javadoc comments
This is an automated email from the ASF dual-hosted git repository.
lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit c000c6c076a7aead2da1f23b307b625afc0d3e18
Author: Lyor Goldstein <lg...@apache.org>
AuthorDate: Sat Nov 9 19:08:10 2019 +0200
Fixed some javadoc comments
---
.../main/java/org/apache/sshd/common/auth/UserAuthMethodFactory.java | 4 ++--
.../main/java/org/apache/sshd/common/signature/AbstractSignature.java | 2 +-
.../src/main/java/org/apache/sshd/common/signature/Signature.java | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sshd-common/src/main/java/org/apache/sshd/common/auth/UserAuthMethodFactory.java b/sshd-common/src/main/java/org/apache/sshd/common/auth/UserAuthMethodFactory.java
index 94b688c..9955e01 100644
--- a/sshd-common/src/main/java/org/apache/sshd/common/auth/UserAuthMethodFactory.java
+++ b/sshd-common/src/main/java/org/apache/sshd/common/auth/UserAuthMethodFactory.java
@@ -113,7 +113,7 @@ public interface UserAuthMethodFactory<S extends SessionContext, M extends UserA
* @param session The {@link SessionContext} being used for authentication
* @return {@code true} if the context is not {@code null} and the ciphers
* have been established to anything other than "none".
- * @see {@value #ALLOW_INSECURE_AUTH}
+ * @see #ALLOW_INSECURE_AUTH
* @see SessionContext#isSecureSessionTransport(SessionContext)
*/
static boolean isSecureAuthenticationTransport(SessionContext session) {
@@ -134,7 +134,7 @@ public interface UserAuthMethodFactory<S extends SessionContext, M extends UserA
* @param session The {@link SessionContext} being used for authentication
* @return {@code true} if the context is not {@code null} and the MAC(s)
* used to verify packet integrity have been established.
- * @see {@value #ALLOW_NON_INTEGRITY_AUTH}
+ * @see #ALLOW_NON_INTEGRITY_AUTH
* @see SessionContext#isDataIntegrityTransport(SessionContext)
*/
static boolean isDataIntegrityAuthenticationTransport(SessionContext session) {
diff --git a/sshd-common/src/main/java/org/apache/sshd/common/signature/AbstractSignature.java b/sshd-common/src/main/java/org/apache/sshd/common/signature/AbstractSignature.java
index 6fd0a37..5269158 100644
--- a/sshd-common/src/main/java/org/apache/sshd/common/signature/AbstractSignature.java
+++ b/sshd-common/src/main/java/org/apache/sshd/common/signature/AbstractSignature.java
@@ -58,7 +58,7 @@ public abstract class AbstractSignature implements Signature {
* @param session The {@link SessionContext} for calling this method - may
* be {@code null} if not called within a session context
* @param algo The signature's algorithm name
- * @param the {@link Key} that is provided for initialization - a {@link PrivateKey}
+ * @param key the {@link Key} that is provided for initialization - a {@link PrivateKey}
* for signing and a {@link PublicKey} for verification
* @param forSigning If {@code true} then it is being initialized for signing,
* otherwise for verifying a signature
diff --git a/sshd-common/src/main/java/org/apache/sshd/common/signature/Signature.java b/sshd-common/src/main/java/org/apache/sshd/common/signature/Signature.java
index e8a0862..bfc67d2 100644
--- a/sshd-common/src/main/java/org/apache/sshd/common/signature/Signature.java
+++ b/sshd-common/src/main/java/org/apache/sshd/common/signature/Signature.java
@@ -56,7 +56,7 @@ public interface Signature extends AlgorithmNameProvider {
* be {@code null} if not called within a session context
* @param hash The hash data buffer
* @throws Exception If failed to update
- * @see #update(byte[], int, int)
+ * @see #update(SessionContext, byte[], int, int)
*/
default void update(SessionContext session, byte[] hash) throws Exception {
update(session, hash, 0, NumberUtils.length(hash));