mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgoldst...@apache.org
Subject mina-sshd git commit: Updated some missing Javadoc type parameters
Date Mon, 15 Feb 2016 16:35:49 GMT
Repository: mina-sshd
Updated Branches:
  refs/heads/master 963036eaa -> 1b0e4bf21


Updated some missing Javadoc type parameters


Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/1b0e4bf2
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/1b0e4bf2
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/1b0e4bf2

Branch: refs/heads/master
Commit: 1b0e4bf21dcfc3738141971bcf41016e05b4a118
Parents: 963036e
Author: Lyor Goldstein <lyor.goldstein@gmail.com>
Authored: Mon Feb 15 18:36:11 2016 +0200
Committer: Lyor Goldstein <lyor.goldstein@gmail.com>
Committed: Mon Feb 15 18:36:11 2016 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/sshd/common/scp/ScpLocation.java   | 1 +
 .../java/org/apache/sshd/common/session/AbstractSession.java    | 1 +
 .../src/main/java/org/apache/sshd/common/util/GenericUtils.java | 5 +++++
 3 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/1b0e4bf2/sshd-core/src/main/java/org/apache/sshd/common/scp/ScpLocation.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/scp/ScpLocation.java b/sshd-core/src/main/java/org/apache/sshd/common/scp/ScpLocation.java
index 4a1a0aa..94ead31 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/scp/ScpLocation.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/scp/ScpLocation.java
@@ -175,6 +175,7 @@ public class ScpLocation implements MutableUserHolder, Serializable, Cloneable
{
     /**
      * Parses a local or remote SCP location in the format {@code user@host:path}
      *
+     * @param <L> Type of {@link ScpLocation} being updated
      * @param locSpec The location specification - ignored if {@code null}/empty
      * @param location The {@link ScpLocation} to update - never {@code null}
      * @return The updated location (unless no specification)

http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/1b0e4bf2/sshd-core/src/main/java/org/apache/sshd/common/session/AbstractSession.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/session/AbstractSession.java b/sshd-core/src/main/java/org/apache/sshd/common/session/AbstractSession.java
index 5f8155d..8455313 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/session/AbstractSession.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/session/AbstractSession.java
@@ -1070,6 +1070,7 @@ public abstract class AbstractSession extends AbstractKexFactoryManager
implemen
      * Makes sure that the buffer used for output is not {@code null} or one
      * of the session's internal ones used for decoding and uncompressing
      *
+     * @param <B> The {@link Buffer} type being validated
      * @param cmd The most likely command this buffer refers to (not guaranteed to be correct)
      * @param buffer The buffer to be examined
      * @return The validated target instance - default same as input

http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/1b0e4bf2/sshd-core/src/main/java/org/apache/sshd/common/util/GenericUtils.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/util/GenericUtils.java b/sshd-core/src/main/java/org/apache/sshd/common/util/GenericUtils.java
index c60c06e..a07ccdc 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/util/GenericUtils.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/util/GenericUtils.java
@@ -364,6 +364,8 @@ public final class GenericUtils {
     /**
      * Creates a map out of a group of values
      *
+     * @param <K> The key type
+     * @param <V> The value type
      * @param keyMapper The {@link Transformer} that generates a key for a given value.
      * If the returned key is {@code null} then the value is not mapped
      * @param mapCreator The {@link Factory} used to create the result map - provided
@@ -576,6 +578,7 @@ public final class GenericUtils {
     /**
      * Resolves to an always non-{@code null} iterator
      *
+     * @param <T> Type of value being iterated
      * @param iterable The {@link Iterable} instance
      * @return A non-{@code null} iterator which may be empty if no iterable
      * instance or no iterator returned from it
@@ -588,6 +591,7 @@ public final class GenericUtils {
     /**
      * Resolves to an always non-{@code null} iterator
      *
+     * @param <T> Type of value being iterated
      * @param iter The {@link Iterator} instance
      * @return  A non-{@code null} iterator which may be empty if no iterator instance
      * @see Collections#emptyIterator()
@@ -602,6 +606,7 @@ public final class GenericUtils {
      * from a specific supplier are exhausted, the next one is consulted, and so on, until
all
      * suppliers have been consulted
      *
+     * @param <T> Type of value being iterated
      * @param providers The providers - ignored if {@code null} (i.e., return an empty iterable
instance)
      * @return The wrapping instance
      */


Mime
View raw message