From 224d8144c2ebd136db9d30922fc1cfa990fe4041 Mon Sep 17 00:00:00 2001 From: Michal Kordas Date: Fri, 1 May 2015 18:32:18 +0200 Subject: [PATCH] Fix EmptyLineSeparator violations for fields, issue #1040 --- .../checkstyle/checks/SuppressWarningsHolder.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/SuppressWarningsHolder.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/SuppressWarningsHolder.java index c1d662203..7e92f4f59 100644 --- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/SuppressWarningsHolder.java +++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/SuppressWarningsHolder.java @@ -70,8 +70,14 @@ public class SuppressWarningsHolder { /** the source name of the suppressed check */ private final String checkName; - /** the suppression region for the check */ - private final int firstLine, firstColumn, lastLine, lastColumn; + /** the suppression region for the check - first line */ + private final int firstLine; + /** the suppression region for the check - first column */ + private final int firstColumn; + /** the suppression region for the check - last line */ + private final int lastLine; + /** the suppression region for the check - last column */ + private final int lastColumn; /** * Constructs a new suppression region entry.