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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta2
    • Fix Version/s: 2.0.0-beta3
    • Component/s: docs, kernel
    • Labels:
      None
    • Patch Info:
      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. patch3_1538.txt
          2 kB
          Cathy Nordstrom
        2. patch2_1538.txt
          1 kB
          Cathy Nordstrom
        3. patch1_1538.txt
          0.4 kB
          Cathy Nordstrom

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: