Commit Graph

30 Commits

Author SHA1 Message Date
Norman Maurer 5c18acd3bf Remove DEC and INC from the list of tokens as these are not supported anymore by newer checkstyle plugin versions.
Motivation:

DEC and INC are not supported anymore.

Modifications:

Remove DEC and INC

Result:

Be able to use checkstyle.xml with latest checkstyle plugin version.
2019-01-24 12:16:58 +01:00
Xiaoyan Lin d513280534 Add TimedOutTestsListener to print the full thread dump on test timeout
Motivation:

See https://github.com/netty/netty/issues/3172

Modifications:

Copy TimedOutTestsListener from 18f9b77a32/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/TimedOutTestsListener.java

Result:

If a test is set the timeout parameter using junit's @Test(timeout = ...) and the timeout is triggered, a full stack trace dump will be outputted and also output the deadlocks if any.
2016-03-04 14:38:15 +09:00
Trustin Lee 191ae3872f Ignore the missing private constructor checks for examples
.. because there's no point of having an empty private constructor for
the example classes with the main(String[]) methods.
2014-05-22 17:20:13 +09:00
Trustin Lee 6d906e1ecc Remove NoFinalize from the checkstyle rule
- We sometimes use it, although it's very rare.
2014-05-07 17:30:56 +09:00
Andrei Pozolotin 728acc3d9b Suppress JavadocPackage in the test packages
as suggested by
https://github.com/infynyxx
https://github.com/netty/netty-build/pull/4
2013-04-03 22:14:28 -05:00
Trustin Lee 182dbb91a4 Remove DoubleCheckedLocking check which is gone in Checkstyle 5.6 2013-03-22 09:32:24 +09:00
Trustin Lee fea132f66c Prepare to import ConcurrentHashMapV8 2013-02-26 15:36:35 -08:00
Trustin Lee b68c2ee0ef Exclude LocalTimeProtocol to use netty-build for 3.x 2013-02-05 18:40:08 +09:00
Trustin Lee f23a34754a Replace regex match with NewlineCheck for more tolerative builds
- Fixes #2
2013-01-31 14:05:05 +09:00
Trustin Lee 78e2b52174 Check IDE-generated comments 2013-01-31 13:27:21 +09:00
Trustin Lee 9ecdf71a5c LocalTime -> WorldTime 2013-01-31 13:11:45 +09:00
Trustin Lee c4f6d059ea Remove SuperClone
.. because we are safe not to call super.clone() for certain cases.
2013-01-30 21:01:15 +09:00
Trustin Lee 7c91c0dbda Add rules for redundant empty lines 2012-12-03 20:45:29 +09:00
Trustin Lee 89a3f296d2 Allow '_' in parameter names although discouraged 2012-11-12 13:37:35 +09:00
Trustin Lee a70242ac89 More strict method parameter naming to prevent dumb parameter names such as arg0 2012-11-12 13:35:38 +09:00
Trustin Lee f7f9dd51ab Remove InterfaceIsType module which generates a false positive for singleton holders 2012-11-09 17:50:42 +09:00
Trustin Lee b62f14a18e Add a dummy VM_global_library.vm to silence velocity errors 2012-09-22 12:32:48 +09:00
Trustin Lee 5cb32bd104 Use LineLength module instead of regex 2012-06-09 18:34:56 +09:00
Trustin Lee 29b876aeea Add a 120-column limit rule 2012-06-08 20:23:26 +09:00
Trustin Lee 3a17bb6bc9 Fix broken CRLF rule / Check trailing whitespace
- Also removed unused imports
2012-06-08 11:16:03 +09:00
Trustin Lee d5bae61655 Update license headers 2012-06-04 13:33:20 -07:00
Trustin Lee 381814f6da Make Windows-friendly
* SuppressionFilter now replaces \ with / before patterh matching
* Added strict UNIX line separator check
* Revived NewlineAtEndOfFile check with UNIX line separator
* Confirmed checkstyle doesn't complain anymore in Windows
2012-03-02 10:19:33 -08:00
norman 735aa8ff45 Ignore NewlineAtEndOfFile as this will break the build on windows any
time
2012-03-02 11:33:43 +01:00
Trustin Lee 6c50c3c076 Exclude Version.java from the checkstyle rules
The new copyright header rule reports Version.java which is
auto-genrated.
2012-02-07 17:36:25 +09:00
Trustin Lee 1749fe33b4 Check missing copyright header 2012-02-07 17:06:15 +09:00
Trustin Lee a6d9b41b98 Disable the MissingOverride check for Java 5 code 2012-01-17 18:30:17 +09:00
Trustin Lee 0bbf677b7c Disable JavadocPackageCheck for examples 2012-01-15 01:40:26 +09:00
Trustin Lee 7ba331995d Comment out a rule that triggers a failure 2012-01-15 00:55:37 +09:00
Trustin Lee 994ea9c0b6 Disallow '(non-Javadoc)' autogenerated comment 2012-01-13 14:53:03 +09:00
Trustin Lee 3b806a4833 Initial import 2012-01-11 20:36:30 +09:00