directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dran...@apache.org
Subject directory-kerby git commit: A clean up for a duplicate method
Date Sun, 12 Jun 2016 11:13:12 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/trunk 32410c411 -> a798aa8ee


A clean up for a duplicate method


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

Branch: refs/heads/trunk
Commit: a798aa8ee11ae2c6b9297f61664f1905da23911a
Parents: 32410c4
Author: Kai Zheng <kai.zheng@intel.com>
Authored: Sun Jun 12 19:12:51 2016 +0800
Committer: Kai Zheng <kai.zheng@intel.com>
Committed: Sun Jun 12 19:12:51 2016 +0800

----------------------------------------------------------------------
 .../apache/kerby/kerberos/kerb/keytab/KeytabInputStream.java   | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/a798aa8e/kerby-kerb/kerb-util/src/main/java/org/apache/kerby/kerberos/kerb/keytab/KeytabInputStream.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-util/src/main/java/org/apache/kerby/kerberos/kerb/keytab/KeytabInputStream.java
b/kerby-kerb/kerb-util/src/main/java/org/apache/kerby/kerberos/kerb/keytab/KeytabInputStream.java
index f1ddeba..2e52b9c 100644
--- a/kerby-kerb/kerb-util/src/main/java/org/apache/kerby/kerberos/kerb/keytab/KeytabInputStream.java
+++ b/kerby-kerb/kerb-util/src/main/java/org/apache/kerby/kerberos/kerb/keytab/KeytabInputStream.java
@@ -74,12 +74,6 @@ public class KeytabInputStream extends KrbInputStream {
         return key;
     }
 
-    public String readCountedString() throws IOException {
-        byte[] countedOctets = readCountedOctets();
-        // ASCII
-        return new String(countedOctets, "ASCII");
-    }
-
     @Override
     public int readOctetsCount() throws IOException {
         return readShort();


Mime
View raw message