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

Javadoc for StringUtils.substringBefore(String str, int separator) doesn't mention that the separator is an int

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.12.0
    • 3.13.0
    • lang.*
    • None

    Description

      The javadoc of StringUtils.substringBefore(String str, int separator) talks of the separator as a String, not as an int (and so doesn't explain what the separator param is).

      Attachments

        Activity

          People

            kinow Bruno P. Kinoshita
            oneiros Martin Schröder
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m