You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pl...@apache.org on 2016/02/22 07:22:52 UTC

directory-kerby git commit: Add some javadocs.

Repository: directory-kerby
Updated Branches:
  refs/heads/trunk eb9ffd686 -> 3a9d193da


Add some javadocs.


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/3a9d193d
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/3a9d193d
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/3a9d193d

Branch: refs/heads/trunk
Commit: 3a9d193da68db2705d55ea6efb0b47b78776948a
Parents: eb9ffd6
Author: plusplusjiajia <ji...@intel.com>
Authored: Mon Feb 22 14:30:16 2016 +0800
Committer: plusplusjiajia <ji...@intel.com>
Committed: Mon Feb 22 14:30:16 2016 +0800

----------------------------------------------------------------------
 .../java/org/apache/kerby/kerberos/kerb/type/base/CheckSum.java  | 4 +++-
 .../org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java   | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/3a9d193d/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSum.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSum.java b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSum.java
index fbf9ec1..fcdc65a 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSum.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSum.java
@@ -170,6 +170,7 @@ public class CheckSum extends KrbSequenceType {
     }
 
     /**
+     * @param other The checksum to be compared
      * @return <tt>true</tt> if the given Checksum is equal to the instance
      */
     public boolean isEqual(CheckSum other) {
@@ -178,7 +179,8 @@ public class CheckSum extends KrbSequenceType {
 
     /**
      * Compare the checksum value of a given Checksum instance and this instance.
-     * 
+     *
+     * @param cksumBytes The checksum bytes to be compared
      * @return <tt>true</tt> if the given CheckSum's checksum is equal to the instance's checksum
      */
     public boolean isEqual(byte[] cksumBytes) {

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/3a9d193d/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java
index ff611be..9d4a12f 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/base/CheckSumType.java
@@ -120,7 +120,7 @@ public enum CheckSumType implements EnumType {
     /**
      * Get the CheckSumType associated with a name.
      * 
-     * @param value The name of the CheckSumType we are looking for
+     * @param name The name of the CheckSumType we are looking for
      * @return The associated CheckSumType, or NONE if not found or if name is null
      */
     public static CheckSumType fromName(String name) {