(spec) Fix java.io.Writer.write(java.lang.String, int, int) IndexOutOfBoundsException wording

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • None
    • Affects Version/s: 9
    • Component/s: core-libs
    • None

      Change:

           * @throws IndexOutOfBoundsException
           * If <tt>off</tt> is negative, or <tt>len</tt> is negative,
           * or <tt>off+len</tt> is negative or greater than the length
           * of the given string

      to a more standard, less awkward and fully equivalent:

           * @throws IndexOutOfBoundsException
           * If <tt>off</tt> is negative, or <tt>len</tt> is negative,
           * or <tt>len</tt> greater than <tt>str.length() - off</tt>

            Assignee:
            Pavel Rappo
            Reporter:
            Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: