You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by je...@locus.apache.org on 2000/02/08 03:43:59 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/readers UTF8Reader.java UTF8Recognizer.java

jeffreyr    00/02/07 18:43:59

  Modified:    java/src/org/apache/xerces/readers UTF8Reader.java
                        UTF8Recognizer.java
  Log:
  get rid of duplicate string messages
  
  Revision  Changes    Path
  1.3       +1 -1      xml-xerces/java/src/org/apache/xerces/readers/UTF8Reader.java
  
  Index: UTF8Reader.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/readers/UTF8Reader.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UTF8Reader.java	2000/02/07 17:16:11	1.2
  +++ UTF8Reader.java	2000/02/08 02:43:57	1.3
  @@ -1686,7 +1686,7 @@
                       }
                   } else {
                       entries = cacheLines[entry];
  -                    throw new RuntimeException("RDR001 untested 1"); // REVISIT
  +                    throw new RuntimeException("RDR001 untested"); // REVISIT
                   }
               }
               offset = 1 + ((entries[0] - 1) * SymbolCache.CACHE_RECORD_SIZE);
  
  
  
  1.3       +15 -15    xml-xerces/java/src/org/apache/xerces/readers/UTF8Recognizer.java
  
  Index: UTF8Recognizer.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/readers/UTF8Recognizer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UTF8Recognizer.java	2000/02/07 17:16:27	1.2
  +++ UTF8Recognizer.java	2000/02/08 02:43:57	1.3
  @@ -212,49 +212,49 @@
           // The rest of the methods in XMLReader are not used for parsing XMLDecl/TextDecl.
           //
           public void append(XMLEntityHandler.CharBuffer charBuffer, int offset, int length) {
  -            throw new RuntimeException("RDR002 cannot happen 7");
  +            throw new RuntimeException("RDR002 cannot happen");
           }
           public int addString(int offset, int length) {
  -            throw new RuntimeException("RDR003 cannot happen 8");
  +            throw new RuntimeException("RDR002 cannot happen");
           }
           public int addSymbol(int offset, int length) {
  -            throw new RuntimeException("RDR004 cannot happen 9");
  +            throw new RuntimeException("RDR002 cannot happen");
           }
           public void skipToChar(char ch) throws IOException {
  -            throw new IOException("cannot happen 10");
  +            throw new IOException("RDR002 cannot happen");
           }
           public void skipPastName(char fastcheck) throws IOException {
  -            throw new IOException("cannot happen 11");
  +            throw new IOException("RDR002 cannot happen");
           }
           public void skipPastNmtoken(char fastcheck) throws IOException {
  -            throw new IOException("cannot happen 12");
  +            throw new IOException("RDR002 cannot happen");
           }
           public boolean lookingAtValidChar(boolean skipPastChar) throws IOException {
  -            throw new IOException("cannot happen 13");
  +            throw new IOException("RDR002 cannot happen");
           }
           public int scanInvalidChar() throws IOException {
  -            throw new IOException("cannot happen 14");
  +            throw new IOException("RDR002 cannot happen");
           }
           public int scanCharRef(boolean hex) throws IOException {
  -            throw new IOException("cannot happen 15");
  +            throw new IOException("RDR002 cannot happen");
           }
           public int scanAttValue(char qchar, boolean asSymbol) throws IOException {
  -            throw new IOException("cannot happen 15.2");
  +            throw new IOException("RDR002 cannot happen");
           }
           public int scanEntityValue(int qchar, boolean createString) throws IOException {
  -            throw new IOException("cannot happen 15.3");
  +            throw new IOException("RDR002 cannot happen");
           }
           public boolean scanExpectedName(char fastcheck, StringPool.CharArrayRange expectedName) throws IOException {
  -            throw new IOException("cannot happen 16.1");
  +            throw new IOException("RDR002 cannot happen");
           }
           public int scanQName(char fastcheck) throws IOException {
  -            throw new IOException("cannot happen 16.2");
  +            throw new IOException("RDR002 cannot happen");
           }
           public int scanName(char fastcheck) throws IOException {
  -            throw new IOException("cannot happen 16.3");
  +            throw new IOException("RDR002 cannot happen");
           }
           public int scanContent(int elementType) throws IOException {
  -            throw new IOException("cannot happen 17");
  +            throw new IOException("RDR002 cannot happen");
           }
       }
   }