Commit Graph

24 Commits

Author SHA1 Message Date
Viraj Jasani
d96ce9c23a
HADOOP-17968 Migrate checkstyle module illegalimport to maven enforcer banned-illegal-imports (#3584)
Reviewed-by: Ahmed Hussein <ahussein@apache.org>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
2021-10-28 15:57:15 +09:00
Masatake Iwasaki
e183ec8998
HADOOP-17897. Allow nested blocks in switch case in checkstyle settings. (#3394) 2021-09-08 13:55:48 +09:00
Viraj Jasani
98412ce2e1 HADOOP-17813. Checkstyle - Allow line length: 100
Signed-off-by: Sean Busbey <busbey@apache.org>
2021-07-22 13:45:49 -05:00
Ahmed Hussein
eac7aefaaf
HADOOP-17109. add guava BaseEncoding to illegalClasses (#2703)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-02-17 10:15:41 +09:00
Ahmed Hussein
65857ea7c0
HADOOP-17513. Checkstyle IllegalImport does not catch guava imports (#2678)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-02-05 16:45:21 +09:00
Akira Ajisaka
6ea2731c2b
HADOOP-17319. Update the checkstyle config to ban some guava functions. (#2400) 2020-10-23 04:28:17 +09:00
Akira Ajisaka
7b4359657f
HADOOP-17315. Use shaded guava in ClientCache.java (#2398)
Added checkstyle rules to warn guava imports
2020-10-20 23:25:24 +09:00
Ayush Saxena
6bcb24d269 HADOOP-17100. Replace Guava Supplier with Java8+ Supplier in Hadoop. Contributed by Ahmed Hussein. 2020-07-18 14:33:43 +05:30
Ahmed Hussein
1f71c4ae71 HADOOP-17099. Replace Guava Predicate with Java8+ Predicate
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
2020-07-15 11:39:06 -05:00
Ahmed Hussein
98fcffe93f HADOOP-17101. Replace Guava Function with Java8+ Function
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
2020-07-15 09:53:18 -05:00
Akira Ajisaka
639acb6d89
HADOOP-17111. Replace Guava Optional with Java8+ Optional. Contributed by Ahmed Hussein. 2020-07-06 16:08:36 +09:00
Akira Ajisaka
f777cd398f
HADOOP-16771. Update checkstyle to 8.26 and maven-checkstyle-plugin to 3.1.0. Contributed by Andras Bokor. 2019-12-20 13:10:26 +09:00
Akira Ajisaka
8b6deebb1d
HADOOP-16232. Fix errors in the checkstyle configration xmls. Contributed by Wanqiang Ji. 2019-04-03 19:35:02 +09:00
Anu Engineer
c918d88a9b Revert "HDDS-119:Skip Apache license header check for some ozone doc scripts. Contributed by Ajay Kumar"
This reverts commit c4bbcd5634.
2018-08-15 10:06:17 -07:00
Bharat Viswanadham
c4bbcd5634 HDDS-119:Skip Apache license header check for some ozone doc scripts. Contributed by Ajay Kumar 2018-06-07 12:47:58 -07:00
Andras Bokor
90d2bdcb75
HADOOP-15252. Checkstyle version is not compatible with IDEA's checkstyle plugin
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2018-03-02 17:08:55 -08:00
Chris Douglas
009b9f3ebc HADOOP-11869. Suppress ParameterNumber checkstyle violations for overridden methods. Contributed by Jonathan Eagles 2017-05-18 21:27:46 -07:00
Akira Ajisaka
1e11080b78 HADOOP-13942. Update checkstyle and checkstyle plugin version to handle indentation of JDK8 Lambdas. 2017-02-15 16:35:08 +09:00
Akira Ajisaka
5b577f43a2 HADOOP-13603. Ignore package line length checkstyle rule. Contributed by Shane Kumpf. 2016-11-01 20:58:13 +09:00
Wei-Chiu Chuang
cd099a63d5 HADOOP-13412. Move dev-support/checkstyle/suppressions.xml to hadoop-build-tools. Contributed by John Zhuge. 2016-09-16 14:26:42 -07:00
Wei-Chiu Chuang
0e68e14d55 HADOOP-13411. Checkstyle suppression by annotation or comment. Contributed by John Zhuge. 2016-09-16 14:16:25 -07:00
Andrew Wang
480302b4ba HADOOP-12859. Disable hiding field style checks in class setters. Contributed by Kai Zheng. 2016-03-02 09:40:30 -08:00
Andrew Wang
5d5a22a878 HADOOP-12713. Disable spurious checkstyle checks. 2016-01-15 11:58:56 -08:00
Jonathan Eagles
2d7363b273 HADOOP-11889. Make checkstyle runnable from root project (Gera Shegalov via jeagles) 2015-05-01 13:11:50 -05:00