directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: rev 56715 - incubator/directory/kerberos/trunk/kerberos/src/test/org/apache/kerberos/kdc
Date Sat, 06 Nov 2004 00:56:30 GMT
Author: erodriguez
Date: Fri Nov  5 16:56:30 2004
New Revision: 56715

Modified:
   incubator/directory/kerberos/trunk/kerberos/src/test/org/apache/kerberos/kdc/TestUtils.java
Log:
Moved simple utility method to only place it was ever used.

Modified: incubator/directory/kerberos/trunk/kerberos/src/test/org/apache/kerberos/kdc/TestUtils.java
==============================================================================
--- incubator/directory/kerberos/trunk/kerberos/src/test/org/apache/kerberos/kdc/TestUtils.java
(original)
+++ incubator/directory/kerberos/trunk/kerberos/src/test/org/apache/kerberos/kdc/TestUtils.java
Fri Nov  5 16:56:30 2004
@@ -161,14 +161,5 @@
 		}
 		return result;
 	}
-
-   	public static byte[] getBytesFromHexString(String hex)
-    {
-		byte[] bts = new byte[hex.length() / 2];
-		for (int i = 0; i < bts.length; i++) {
-			bts[i] = (byte) Integer.parseInt(hex.substring(2*i, 2*i+2), 16);
-		}
-		return bts;
-	}
 }
 

Mime
View raw message