Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4350412

The same methods in StringContent and GapContent is unusable

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.6



      Name: ssR10000 Date: 07/05/2000



      Methods:
          GapContent.updateUndoPositions(Vector, int, int)
          StringContent.getPositionsInRange(Vector, int, int)
          StringContent.updateUndoPositions(Vector)
      is unusable.

      A Vector parameter in those methods containing instances of package visible class UndoPosRef.
      So I cannot use or inheritance this method.

      see also (JavaDoc):
      protected void updateUndoPositions(Vector positions,
                                         int offset,
                                         int length)

            Resets the location for all the UndoPosRef instances in positions.
                                            ^^^^^^^^^^
                                            package visible class!
            Parameters:
                  positions - the UndoPosRef instances to reset


      protected Vector getPositionsInRange(Vector v,
                                           int offset,
                                           int length)

            Returns a Vector containing instances of UndoPosRef for the Positions ...
                                            ^^^^^^^^^^
                                            package visible class!


      ======================================================================

            svioletsunw Scott Violet (Inactive)
            sswsunw Ssw Ssw (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: