directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [43/50] [abbrv] directory-kerby git commit: A clean up for a duplicate method
Date Fri, 21 Jul 2017 11:27:30 GMT
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/62cf23d9
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/62cf23d9
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/62cf23d9

Branch: refs/heads/gssapi
Commit: 62cf23d920e8bc6b896945da89db55c88c7529e1
Parents: 34edd99
Author: Kai Zheng <kai.zheng@intel.com>
Authored: Sun Jun 12 19:12:51 2016 +0800
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Fri Jul 21 12:25:51 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/62cf23d9/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