Details

    • Type: Sub-Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0 M1
    • Component/s: Projects > Common
    • Labels:
      None

      Description

      Use MessageFormat for combined strings

      String msg = "The project " + project.getName() + " could not be found.";
      should be converted to
      String msg = "The project

      {0}

      could not be found";
      MessageFormat.format(msg,

      { project.getName() }

      );

      There is no need to do this for strings that are destined for the error log.

        Attachments

          Activity

            People

            Assignee:
            cindy.li Cindy Li (Inactive)
            Reporter:
            gregory.amerson Gregory Amerson
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 32 weeks ago

                Packages

                Version Package
                2.0.0 M1