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

java.util.regex.Matcher method doc points to incorrect links

XMLWordPrintable

    • b17
    • x86_64
    • linux_ubuntu
    • Not verified

        A DESCRIPTION OF THE PROBLEM :
        - In java.util.regex.Matcher.appendReplacement(StringBuilder,String) method documentation, in the following sentence "This method is intended to be used in a loop together with the appendTail and find methods.", the link pointing to appendTail method should point to java.util.regex.Matcher.appendTail(StringBuilder) and not java.util.regex.Matcher.appendTail(StringBuffer).

        - In java.util.regex.Matcher.appendTail(StringBuilder) method documentation, in the following sentence "It is intended to be invoked after one or more invocations of the appendReplacement method in order to copy the remainder of the input sequence.", the link pointing to appendReplacement method should point to java.util.regex.Matcher.appendReplacement(StringBuilder,String) and not java.util.regex.Matcher.appendReplacement(StringBuffer,String).


        URL OF FAULTY DOCUMENTATION :
        https://docs.oracle.com/javase/9/docs/api/java/util/regex/Matcher.html

              lancea Lance Andersen
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: