OpenJPA
  1. OpenJPA
  2. OPENJPA-1538

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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"); }
      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

        Cathy Nordstrom created issue -
        Hide
        Cathy Nordstrom added a comment -

        Proposed fix for OpenJPAVersion.java.

        Some minor grammical fixes are also included.

        Show
        Cathy Nordstrom added a comment - Proposed fix for OpenJPAVersion.java. Some minor grammical fixes are also included.
        Cathy Nordstrom made changes -
        Field Original Value New Value
        Attachment patch1_1538.txt [ 12437077 ]
        Attachment patch2_1538.txt [ 12437078 ]
        Attachment patch3_1538.txt [ 12437079 ]
        Cathy Nordstrom made changes -
        Patch Info [Patch Available]
        Donald Woods made changes -
        Assignee Cathy Nordstrom [ cathynord ] Donald Woods [ drwoods ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Affects Version/s 2.0.0-beta2 [ 12314802 ]
        Affects Version/s 2.0.0 [ 12314019 ]
        Component/s docs [ 12311306 ]
        Donald Woods made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Donald Woods added a comment -

        committed to trunk as r916757 and r916759.

        Show
        Donald Woods added a comment - committed to trunk as r916757 and r916759.
        Donald Woods made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Cathy Nordstrom added a comment -

        Thanks Donald for committing this.

        Show
        Cathy Nordstrom added a comment - Thanks Donald for committing this.
        Donald Woods made changes -
        Fix Version/s 2.0.0-beta3 [ 12314857 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development