avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server/sql TokenMgrError.java AbstractSQLParser.java
Date Thu, 29 Nov 2001 13:04:45 GMT
froehlich    01/11/29 05:04:45

  Modified:    apps/db/src/java/org/apache/avalon/db/server/sql
                        TokenMgrError.java AbstractSQLParser.java
  Log:
  first successful compile of the sql parser, yippie ;-)
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server/sql/TokenMgrError.java
  
  Index: TokenMgrError.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server/sql/TokenMgrError.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TokenMgrError.java	2001/11/29 11:43:15	1.1
  +++ TokenMgrError.java	2001/11/29 13:04:44	1.2
  @@ -10,22 +10,22 @@
      /**
       * Lexical error occured.
       */
  -   static final int LEXICAL_ERROR = 0;
  +   public static final int LEXICAL_ERROR = 0;
   
      /**
       * An attempt wass made to create a second instance of a static token manager.
       */
  -   static final int STATIC_LEXER_ERROR = 1;
  +   public static final int STATIC_LEXER_ERROR = 1;
   
      /**
       * Tried to change to an invalid lexical state.
       */
  -   static final int INVALID_LEXICAL_STATE = 2;
  +   public static final int INVALID_LEXICAL_STATE = 2;
   
      /**
       * Detected (and bailed out of) an infinite loop in the token manager.
       */
  -   static final int LOOP_DETECTED = 3;
  +   public static final int LOOP_DETECTED = 3;
   
      /**
       * Indicates the reason why the exception is thrown. It will have
  
  
  
  1.2       +1 -10     jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server/sql/AbstractSQLParser.java
  
  Index: AbstractSQLParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/server/sql/AbstractSQLParser.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractSQLParser.java	2001/11/29 11:28:43	1.1
  +++ AbstractSQLParser.java	2001/11/29 13:04:44	1.2
  @@ -18,15 +18,6 @@
    * @version $Revision: 1.13 $
    */
   public abstract class AbstractSQLParser extends AbstractParser {
  -    public abstract void parseSQLString(String str); 
  -    public abstract void Select(String str);
  -    public abstract void Update(String sql);
  -    public abstract void Rollback(String sql);
  -    public abstract void Insert(String sql);
  -    public abstract void Grant(String sql);
  -    public abstract void Drop(String sql);
  -    public abstract void Delete(String sql);
  -    public abstract void Commit(String sql);
  -    public abstract void Alter(String sql);
  +
   }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message