costin      01/03/16 14:17:35

  Modified:    java/src/org/apache/xalan/processor StylesheetHandler.java
               java/src/org/apache/xpath Expression.java XPath.java
                        XPathContext.java
               java/src/org/apache/xpath/compiler Compiler.java
                        XPathParser.java
  Log:
  Renamed "assert()" to "assertion()".
  
  Assert can be a keyword, and brake the compilation.
  
  Revision  Changes    Path
  1.37      +2 -2      
xml-xalan/java/src/org/apache/xalan/processor/StylesheetHandler.java
  
  Index: StylesheetHandler.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/processor/StylesheetHandler.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- StylesheetHandler.java    2001/03/05 19:54:42     1.36
  +++ StylesheetHandler.java    2001/03/16 22:17:24     1.37
  @@ -240,7 +240,7 @@
   
       // Don't need to support this here.  Return the current URI for the 
prefix,
       // ignoring the context.
  -    assert(true, "can't process a context node in StylesheetHandler!");
  +    assertion(true, "can't process a context node in StylesheetHandler!");
   
       return null;
     }
  @@ -821,7 +821,7 @@
      * argument.
      * @throws RuntimeException if the condition is not true.
      */
  -  private void assert(boolean condition, String msg) throws RuntimeException
  +  private void assertion(boolean condition, String msg) throws 
RuntimeException
     {
       if (!condition)
         throw new RuntimeException(msg);
  
  
  
  1.14      +1 -1      xml-xalan/java/src/org/apache/xpath/Expression.java
  
  Index: Expression.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/Expression.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Expression.java   2001/01/02 03:47:13     1.13
  +++ Expression.java   2001/03/16 22:17:27     1.14
  @@ -166,7 +166,7 @@
      * 
      * @throws RuntimeException if the b argument is false.
      */
  -  public void assert(boolean b, java.lang.String msg)
  +  public void assertion(boolean b, java.lang.String msg)
             throws javax.xml.transform.TransformerException
     {
   
  
  
  
  1.18      +1 -1      xml-xalan/java/src/org/apache/xpath/XPath.java
  
  Index: XPath.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/XPath.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- XPath.java        2001/01/24 14:51:33     1.17
  +++ XPath.java        2001/03/16 22:17:28     1.18
  @@ -404,7 +404,7 @@
      * 
      * @throws RuntimeException if the b argument is false.
      */
  -  public void assert(boolean b, String msg)
  +  public void assertion(boolean b, String msg)
     {
   
       if (!b)
  
  
  
  1.19      +1 -1      xml-xalan/java/src/org/apache/xpath/XPathContext.java
  
  Index: XPathContext.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/XPathContext.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- XPathContext.java 2001/03/12 02:12:59     1.18
  +++ XPathContext.java 2001/03/16 22:17:28     1.19
  @@ -432,7 +432,7 @@
      * 
      * @throws javax.xml.transform.TransformerException if b is false.
      */
  -  private void assert(boolean b, String msg) throws 
javax.xml.transform.TransformerException
  +  private void assertion(boolean b, String msg) throws 
javax.xml.transform.TransformerException
     {
   
       ErrorListener errorHandler = getErrorListener();
  
  
  
  1.23      +1 -1      
xml-xalan/java/src/org/apache/xpath/compiler/Compiler.java
  
  Index: Compiler.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xpath/compiler/Compiler.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- Compiler.java     2001/02/13 20:06:04     1.22
  +++ Compiler.java     2001/03/16 22:17:32     1.23
  @@ -1127,7 +1127,7 @@
      * 
      * @throws RuntimeException if the b argument is false.
      */
  -  public void assert(boolean b, java.lang.String msg)
  +  public void assertion(boolean b, java.lang.String msg)
     {
   
       if (!b)
  
  
  
  1.15      +1 -1      
xml-xalan/java/src/org/apache/xpath/compiler/XPathParser.java
  
  Index: XPathParser.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xpath/compiler/XPathParser.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- XPathParser.java  2001/02/20 23:41:53     1.14
  +++ XPathParser.java  2001/03/16 22:17:32     1.15
  @@ -568,7 +568,7 @@
      * 
      * @throws RuntimeException if the b argument is false.
      */
  -  private void assert(boolean b, String msg)
  +  private void assertion(boolean b, String msg)
     {
   
       if (!b)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to