Uploaded image for project: 'Log Tool'
  1. Log Tool
  2. LOGTOOL-44

Make configurable whether @Override annotation shall be added

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.2.Final, 1.1.0.Beta1
    • 1.0.1.Final
    • None

      The annotation processor adds the @java.lang.Override annotation to the methods of generated log or message bundle classes. For methods implementing interface methods this is allowed only in Java 6 and above, while in Java 5 @Override is only allowed for methods overriding methods from superclasses.
      Therefore compilation of the generated classes fails using Java 5. To address this issue, the annotation should be added conditionally based on the current source level.

            jperkins-rhn James Perkins
            gunnar.morling Gunnar Morling
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: