From 614d7d06f4964f03681e9e90d98ddf3562c47598 Mon Sep 17 00:00:00 2001 From: David Capwell Date: Wed, 2 Sep 2020 11:34:28 -0700 Subject: [PATCH] Change style guide to include @Override patch by David Capwell for CASSANDRA-16096 --- doc/source/development/code_style.rst | 1 - ide/idea/codeStyleSettings.xml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/source/development/code_style.rst b/doc/source/development/code_style.rst index 5a486a4a38..85287ed1f9 100644 --- a/doc/source/development/code_style.rst +++ b/doc/source/development/code_style.rst @@ -35,7 +35,6 @@ Exception handling Boilerplate ----------- - - Avoid redundant ``@Override`` annotations when implementing abstract or interface methods. - Do not implement equals or hashcode methods unless they are actually needed. - Prefer public final fields to private fields with getters. (But prefer encapsulating behavior in "real" methods to either.) - Prefer requiring initialization in the constructor to setters. diff --git a/ide/idea/codeStyleSettings.xml b/ide/idea/codeStyleSettings.xml index d9190a7c04..a104924c71 100644 --- a/ide/idea/codeStyleSettings.xml +++ b/ide/idea/codeStyleSettings.xml @@ -3,7 +3,7 @@ - \ No newline at end of file +