Warning for overriding methods not using @Override annotation

XMLWordPrintable

    • generic
    • generic

      It should be possible to get a warning for overriding methods
      without the @Override annotation. For example:

      class Super { void foo() {} }
      class Sub1 extends Super { void foo() {} } // warning
      class Sub2 extends Super { @Override foo() {} } // no warning

            Assignee:
            Unassigned
            Reporter:
            Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: