Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1071

Fix wrong examples in JavaDoc of StringUtils.replaceEachRepeatedly(...), StringUtils.replaceEach(...)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.2
    • 3.4
    • lang.*
    • None

    Description

      StringUtils.replaceEachRepeatedly(, *, *) has javadoc with examples of invokation of StringUtils.replaceEach(, *, *):
      https://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java?revision=1639624&view=markup#l4588

      StringUtils.replaceEach(, *, *, *, *) has javadoc with examples of invokation of StringUtils.StringUtils.replaceEach(, *, *, *). Note different number of arguments.
      https://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java?revision=1639624&view=markup#l4639

      Please fix javadoc.

      Attachments

        1. javadoc.patch
          5 kB
          Arno Noordover

        Activity

          People

            britter Benedikt Ritter
            julianladisch Julian Ladisch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: