I fixed the access modified of the AsyncBoxView.locator field as pointed
out by JAPI and removed a wrong inner class field of the same name in
ChildState.

2006-02-14  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/text/AsyncBoxView.java
        (ChildState.locator): Removed wrong field.
        (ChildState): Removed initialization of removed field.
        (locator): Changed access modifier to be protected as specified.

/Roman
Index: javax/swing/text/AsyncBoxView.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/AsyncBoxView.java,v
retrieving revision 1.1
diff -u -r1.1 AsyncBoxView.java
--- javax/swing/text/AsyncBoxView.java	13 Feb 2006 13:44:30 -0000	1.1
+++ javax/swing/text/AsyncBoxView.java	14 Feb 2006 22:37:20 -0000
@@ -359,11 +359,6 @@
     private View childView;
 
     /**
-     * The locator for the child view.
-     */
-    private ChildLocator locator;
-
-    /**
      * Indicates if the minor axis requirements of this child view are valid
      * or not.
      */
@@ -427,7 +422,6 @@
     public ChildState(View view)
     {
       childView = view;
-      locator = new ChildLocator();
     }
 
     /**
@@ -799,7 +793,7 @@
   /**
    * The child locator for this view.
    */
-  private ChildLocator locator;
+  protected ChildLocator locator;
 
   /**
    * Creates a new <code>AsyncBoxView</code> that represents the specified

Reply via email to