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

Simplify String.substring(_, length()) calls

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 19
    • None
    • client-libs
    • None
    • b19

    Description

      Default 'endIndex' for String.substring method call is length of the String.
      We can simplify code a bit, by omitting default value.

      Attachments

        Issue Links

          Activity

            People

              aturbanov Andrey Turbanov
              aturbanov Andrey Turbanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: