From 79eaef7f55779e949d7e8dc0b4e4749d76f99c9f Mon Sep 17 00:00:00 2001 From: hyukjinkwon Date: Thu, 4 Aug 2016 11:02:25 +0900 Subject: [PATCH] Add rules for preventing to use Java annotations (Deprecated and Override) --- scalastyle-config.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scalastyle-config.xml b/scalastyle-config.xml index 9a35183c6373..7fe0697202cd 100644 --- a/scalastyle-config.xml +++ b/scalastyle-config.xml @@ -250,6 +250,14 @@ This file is divided into 3 sections: Omit braces in case clauses. + + + ^Override$ + override modifier should be used instead of @java.lang.Override. + + + +