directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r191598 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/IStates.java
Date Tue, 21 Jun 2005 00:37:30 GMT
Author: elecharny
Date: Mon Jun 20 17:37:29 2005
New Revision: 191598

URL: http://svn.apache.org/viewcvs?rev=191598&view=rev
Log:
Added a constant for the States Switch mask. It was obviously needed...

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/IStates.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/IStates.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/IStates.java?rev=191598&r1=191597&r2=191598&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/IStates.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/IStates.java
Mon Jun 20 17:37:29 2005
@@ -33,8 +33,11 @@
     /** The END_STATE */
     static int END_STATE = -1;
 
-    /** The mask to filter between states transition and grammar switch */
-    final static int GRAMMAR_SWITCH_MASK = 0x0F00;
+    /** The mask to filter grammar switch */
+    final static int GRAMMAR_SWITCH_MASK = 0xFF00;
+    
+    /** The mask to filter states transition */
+    final static int STATES_SWITCH_MASK = 0x00FF;
     
     /** Get the current state for a specified grammar */
     String getState( int grammar, int state );



Mime
View raw message