Torque
  1. Torque
  2. TORQUE-102

Copy-Paste error breaks enableJava5Features

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3-RC2
    • Fix Version/s: 3.3-RC3
    • Component/s: Maven 2 Plugin
    • Labels:
      None

      Description

      Hi again.

      There seems to be a copy-paste mistake in the OMMojo.java file (I also just posted this to the user mailinglist).

      At the getMojoContextProperties() Method the configuration-property of ENABLE_JAVA_5_FEATURES_CONTEXT_PROPERTY is set to the value of correctGetters, which is wrong and should be set to enableJava5Features.

      I changed it the following way:

      602c602
      < Boolean.toString(correctGetters));

      > Boolean.toString(enableJava5Features));

      Tested, works.

      Greetings,

      Marc

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Marc Kannegießer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development