Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1538

Move hard coded text in OpenJPAVersion.java to localizer.properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-beta2
    • 2.0.0-beta3
    • docs, kernel
    • None
    • Patch Available

    Description

      openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAVersion.java
      contains some hard coded text that could be moved to message properties file.

      public void appendOpenJPABanner(StringBuilder buf)

      { buf.append(VENDOR_NAME).append(" "); buf.append(VERSION_NUMBER); buf.append("\n"); buf.append("version id: ").append(VERSION_ID); buf.append("\n"); buf.append("Apache svn revision: ").append(REVISION_NUMBER); buf.append("\n"); }

      Attachments

        1. patch1_1538.txt
          0.4 kB
          Cathy Nordstrom
        2. patch2_1538.txt
          1 kB
          Cathy Nordstrom
        3. patch3_1538.txt
          2 kB
          Cathy Nordstrom

        Activity

          People

            drwoods Donald Woods
            cathynord Cathy Nordstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: