Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6967

Fail the build on missing Override annotation

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Spin-off of LUCENE-6957. Even though javac does not support it, ecj does with this one-liner:

      --- lucene/tools/javadoc/ecj.javadocs.prefs	(revision 1723604)
      +++ lucene/tools/javadoc/ecj.javadocs.prefs	(working copy)
      @@ -47,7 +47,7 @@
       org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled
       org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
       org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
      -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
      +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error
       org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
       org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
       org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
      

        Attachments

        1. LUCENE-6967.patch
          49 kB
          Paul Elschot
        2. LUCENE-6967.patch
          42 kB
          Paul Elschot

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: