Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16877

Add a rule for preventing use Java's Override annotation

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.1, 2.1.0
    • Component/s: Build
    • Labels:
      None

      Description

      This was found in https://github.com/apache/spark/pull/14419

      It seems using @Override annotation in Scala code instead of override modifier just passes Scala style checking.

      It might better add a rule for checking this.

        Attachments

          Activity

            People

            • Assignee:
              hyukjin.kwon Hyukjin Kwon
              Reporter:
              hyukjin.kwon Hyukjin Kwon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: