harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r400070 - /incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/kerberos/KerberosKey.java
Date Fri, 05 May 2006 13:10:27 GMT
Author: smishura
Date: Fri May  5 06:10:25 2006
New Revision: 400070

URL: http://svn.apache.org/viewcvs?rev=400070&view=rev
Log:
Remove redundant checks.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/kerberos/KerberosKey.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/kerberos/KerberosKey.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/kerberos/KerberosKey.java?rev=400070&r1=400069&r2=400070&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/kerberos/KerberosKey.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/auth/src/main/java/common/javax/security/auth/kerberos/KerberosKey.java
Fri May  5 06:10:25 2006
@@ -95,7 +95,6 @@
      * @com.intel.drl.spec_ref
      */
     public final String getAlgorithm() {
-        checkState();
         return key.getAlgorithm();
     }
 
@@ -103,7 +102,6 @@
      * @com.intel.drl.spec_ref
      */
     public final String getFormat() {
-        checkState();
         return key.getFormat();
     }
 
@@ -111,14 +109,12 @@
      * @com.intel.drl.spec_ref
      */
     public final int getKeyType() {
-        checkState();
         return key.getKeyType();
     }  
     /**
      * @com.intel.drl.spec_ref
      */
     public final byte[] getEncoded() {
-        checkState();
         return key.getEncoded();
     }
     



Mime
View raw message