diff --git a/pom.xml b/pom.xml
index 9597ce32e..c69414ba9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -830,7 +830,6 @@
.*.checks.indentation.ImportHandler5087
.*.checks.indentation.IndentationCheck10093
.*.checks.indentation.IndexHandler10075
- .*.checks.indentation.LineSet10090
.*.checks.indentation.LineWrappingHandler8791
.*.checks.indentation.MethodCallHandler6387
.*.checks.indentation.MethodCallLineWrapHandler00
@@ -840,7 +839,6 @@
.*.checks.indentation.PackageDefHandler5085
.*.checks.indentation.PrimordialHandler10060
.*.checks.indentation.SlistHandler10094
-
.*.checks.indentation.SynchronizedHandler100100
.*.checks.javadoc.AbstractJavadocCheck9093
diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LineSet.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LineSet.java
index 74ba3eefd..8e57cf39c 100644
--- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LineSet.java
+++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LineSet.java
@@ -93,6 +93,6 @@ public class LineSet {
@Override
public String toString() {
- return "LineSet[ start=" + firstLine() + ", last=" + lastLine() + "]";
+ return "LineSet[firstLine=" + firstLine() + ", lastLine=" + lastLine() + "]";
}
}
diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/checks/indentation/LineSetTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/checks/indentation/LineSetTest.java
new file mode 100644
index 000000000..92837e572
--- /dev/null
+++ b/src/test/java/com/puppycrawl/tools/checkstyle/checks/indentation/LineSetTest.java
@@ -0,0 +1,38 @@
+////////////////////////////////////////////////////////////////////////////////
+// checkstyle: Checks Java source code for adherence to a set of rules.
+// Copyright (C) 2001-2015 the original author or authors.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+////////////////////////////////////////////////////////////////////////////////
+
+package com.puppycrawl.tools.checkstyle.checks.indentation;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+public class LineSetTest {
+
+ @Test
+ public void testToStringShowingFirstAndLastLine() {
+ LineSet lineSet = new LineSet();
+ lineSet.addLineAndCol(0, 1);
+ lineSet.addLineAndCol(2, 3);
+
+ String result = lineSet.toString();
+
+ assertEquals("LineSet[firstLine=0, lastLine=2]", result);
+ }
+}