src/java.desktop/share/classes/javax/swing/text/rtf/RTFReader.java

Print this page

        

@@ -84,11 +84,11 @@
   /** The parameter of the most recently parsed \\ucN keyword,
    *  used for skipping alternative representations after a
    *  Unicode character. */
   int skippingCharacters;
 
-  static private Dictionary<String, RTFAttribute> straightforwardAttributes;
+  private static Dictionary<String, RTFAttribute> straightforwardAttributes;
   static {
       straightforwardAttributes = RTFAttributes.attributesByKeyword();
   }
 
   private MockAttributeSet mockery;

@@ -1064,11 +1064,11 @@
         parserState.put("pgf", paragraphAttributes);
         sectionAttributes = rootSectionAttributes();
         parserState.put("sec", sectionAttributes);
     }
 
-    abstract public void handleText(String text);
+    public abstract void handleText(String text);
 
     public void handleBinaryBlob(byte[] data)
     {
         /* This should really be in TextHandlingDestination, but
          * since *nobody* does anything with binary blobs, this