< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/parser/UnicodeReader.java

Print this page

        

@@ -152,25 +152,10 @@
 
     String chars() {
         return new String(sbuf, 0, sp);
     }
 
-    /** Add 'count' copies of the character 'ch' to the string buffer.
-     */
-    protected void repeat(char ch, int count) {
-        for ( ; 0 < count; count--) {
-            putChar(ch, false);
-        }
-    }
-
-    /** Reset the scan buffer pointer to 'pos'.
-     */
-    protected void reset(int pos) {
-        bp = pos - 1;
-        scanChar();
-    }
-
     /** Convert unicode escape; bp points to initial '\' character
      *  (Spec 3.3).
      */
     protected void convertUnicode() {
         if (ch == '\\' && unicodeConversionBp != bp ) {
< prev index next >