directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r189657 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
Date Wed, 08 Jun 2005 22:05:54 GMT
Author: elecharny
Date: Wed Jun  8 15:05:54 2005
New Revision: 189657

URL: http://svn.apache.org/viewcvs?rev=189657&view=rev
Log:
the getGrammarName methods are not anymore static.

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java?rev=189657&r1=189656&r2=189657&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
Wed Jun  8 15:05:54 2005
@@ -16,6 +16,7 @@
  */
 package org.apache.asn1.ldap.codec.grammars;
 
+import org.apache.asn1.ber.grammar.IGrammar;
 import org.apache.asn1.ber.grammar.IStates;
 
 
@@ -1115,7 +1116,7 @@
      * @param The grammar code
      * @return The grammar name
      */
-    public static String getGrammarName(int grammar)
+    public String getGrammarName(int grammar)
     {
         switch (grammar)
         {
@@ -1143,7 +1144,7 @@
      * @param The grammar class
      * @return The grammar name
      */
-    public static String getGrammarName(Object grammar)
+    public String getGrammarName(IGrammar grammar)
     {
         if (grammar instanceof LdapMessageGrammar)
         {



Mime
View raw message