Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902308

Replace concatenation with an empty string with String.valueOf

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: jt6.0
    • Fix Version/s: jt6.0
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b04

      Description

      This is to correct situations like
      String s = "" + number;

      It'd better be
      String s = String.valueOf(number);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dbessono Dmitry Bessonov
              Reporter:
              dbessono Dmitry Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: