Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3479

Mixing StringBuilder and String concatenation in FinderMetadata.java

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Complete
    • 1.2.5.RELEASE
    • 1.3.0.RELEASE
    • DYNAMIC FINDERS
    • None

    Description

      In addon-finder/src/main/java/org/springframework/roo/addon/finder/FinderMetadata.java line 308 the StringBuilder should be used instead of String concatenation.

      This results in source code that can not be compiled every time Spring Roo updates the finder aspects.

      Line should be

      bodyBuilder.appendFormalLine("queryBuilder.append(\" ORDER BY \").append( sortFieldName");");

      Attachments

        Activity

          People

            stewarta Alan Stewart
            neo Johannes Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: