directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1037131 - in /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos: KerberosMessageType.java codec/actions/AbstractReadMsgType.java
Date Sat, 20 Nov 2010 07:36:29 GMT
Author: kayyagari
Date: Sat Nov 20 07:36:28 2010
New Revision: 1037131

URL: http://svn.apache.org/viewvc?rev=1037131&view=rev
Log:
o renamed method for better semantics

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosMessageType.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosMessageType.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosMessageType.java?rev=1037131&r1=1037130&r2=1037131&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosMessageType.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/KerberosMessageType.java
Sat Nov 20 07:36:28 2010
@@ -97,7 +97,7 @@ public enum KerberosMessageType
      * @param value The int value 
      * @return A KerberosMessageType associated with this value
      */
-    public static KerberosMessageType getTypeByOrdinal( int value )
+    public static KerberosMessageType getTypeByValue( int value )
     {
         switch ( value )
         {

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java?rev=1037131&r1=1037130&r2=1037131&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/actions/AbstractReadMsgType.java
Sat Nov 20 07:36:28 2010
@@ -87,7 +87,7 @@ public abstract class AbstractReadMsgTyp
         try
         {
             int msgType = IntegerDecoder.parse( value );
-            KerberosMessageType krbMsgType = KerberosMessageType.getTypeByOrdinal( msgType
);
+            KerberosMessageType krbMsgType = KerberosMessageType.getTypeByValue( msgType
);
 
             if ( IS_DEBUG )
             {



Mime
View raw message