Skip to content

Commit

Permalink
Issue checkstyle#1124:EmptyLineSeparator doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaman20 committed Aug 16, 2022
1 parent 553f93f commit 3d60614
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class InputEmptyLineSeparator // violation ''CLASS_DEF' should be separated from previous line.'
{
public static final double FOO_PI = 3.1415;
private boolean flag = true; // violation ''VARIABLE_DEF' should be separated from previous line.'
private boolean flag = true; // violation ''VARIABLE_DEF'.*separated.*from.*previous.*line.'
static { // violation ''STATIC_INIT' should be separated from previous line.'
//empty static initializer
}
Expand All @@ -50,12 +50,12 @@ class InputEmptyLineSeparator // violation ''CLASS_DEF' should be separated from
*
*
*/
private InputEmptyLineSeparator() // violation ''CTOR_DEF' should be separated from previous line.'
private InputEmptyLineSeparator() // violation ''CTOR_DEF'.*separated.*from.*previous.*line.'
{
//empty
}
//separator blank line
public int compareTo(Object aObject) // violation ''METHOD_DEF' should be separated from previous line.'
public int compareTo(Object aObject) // violation ''METHOD_DEF'.*separated.*from.*previous.*line.'
{
int number = 0;
return 0;
Expand All @@ -72,7 +72,7 @@ public int compareTo2(Object aObject) // empty line - ok
* @param result
* @return
*/
public static <T> Callable<T> callable(Runnable task, T result) // violation ''METHOD_DEF' should be separated from previous line.'
public static <T> Callable<T> clb(T r) // violation ''METHOD_DEF'.*separated.*from.*previous.*line.'
{
return null;
}
Expand Down

0 comments on commit 3d60614

Please sign in to comment.