From 41d4166affcc3352115abb2cf7440edd08e73ebe Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 9 Sep 2016 19:12:03 +0100 Subject: [PATCH] NoLineWrap: enabled --- README.md | 10 +++++----- src/main/resources/net/kemitix/checkstyle.xml | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8097ef0..30bac4b 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,7 @@ You need to include `checkstyle` as the version bundled with the `maven-checksty * [NewlineAtEndOfFile](#newlineatendoffile) - checkstyle - enabled * [NoClone](#noclone) - checkstyle - enabled * [NoFinalizer](#nofinalizer) - checkstyle - enabled -* [NoLineWrap](#nolinewrap) - checkstyle - disabled +* [NoLineWrap](#nolinewrap) - checkstyle - enabled * [NoMainMethodInAbstractClass](#nomainmethodinabstractclass) - sevntu - enabled * [NonEmptyAtclauseDescription](#nonemptyatclausedescription) - checkstyle - enabled * [NoWhitespaceAfter](#nowhitespaceafter) - checkstyle - enabled @@ -1664,6 +1664,10 @@ Checks that the `finalize()` method from `Object` has not been overridden. > See [Effective Java], 2nd Edition by Josh Bloch: Item 7: Avoid finalizers. +#### [NoLineWrap](http://checkstyle.sourceforge.net/config_whitespace.html#NoLineWrap) + +Prevents wrapping of `package` and `import` statements. + #### [NonEmptyAtclauseDescription](http://checkstyle.sourceforge.net/config_javadoc.html#NonEmptyAtclauseDescription) Checks that the Javadoc clauses `@param`, `@return`, `@throws` and `@deprecated` all have descriptions. @@ -2720,10 +2724,6 @@ Would not see constructors created using Lombok's `@NoArgsConstructor`. The javadoc compiler automatically inherits the javadoc from the overridden method, it doesn't need to be told to do so. -#### [NoLineWrap](http://checkstyle.sourceforge.net/config_whitespace.html#NoLineWrap) - -> TODO: enable - #### [OuterTypeNumber](http://checkstyle.sourceforge.net/config_sizes.html#OuterTypeNumber) Already covered by the [OneTopLevelClass](#onetoplevelclass) check. diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 676002c..3b22b1c 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -160,6 +160,7 @@ +