Skip to content

Commit f8ad5d9

Browse files
committed
#171 polish
1 parent 5345780 commit f8ad5d9

4 files changed

Lines changed: 0 additions & 5 deletions

File tree

src/main/java/com/jcabi/xml/ClasspathInput.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
import java.io.InputStream;
3333
import java.io.Reader;
34-
import java.nio.charset.Charset;
3534
import java.nio.charset.StandardCharsets;
3635
import org.cactoos.io.ResourceOf;
3736
import org.cactoos.text.TextOf;
@@ -119,7 +118,6 @@ public String getStringData() {
119118
path -> {
120119
throw new IllegalArgumentException(
121120
String.format(
122-
// @checkstyle LineLength (1 line)
123121
"SystemID \"%s\" resource does not exist or can't be opened.",
124122
path
125123
)

src/main/java/com/jcabi/xml/ClasspathSources.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ public Source resolve(final String href, final String base)
9393
if (stream == null) {
9494
throw new TransformerException(
9595
String.format(
96-
//@checkstyle LineLength (1 line)
9796
"Resource \"%s\" not found in classpath with prefix \"%s\" and base \"%s\"",
9897
href, this.prefix, base
9998
)

src/main/java/com/jcabi/xml/Sources.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public interface Sources extends URIResolver {
4545
Sources DUMMY = (href, base) -> {
4646
throw new UnsupportedOperationException(
4747
String.format(
48-
// @checkstyle LineLength (1 line)
4948
"Sources.DUMMY#resolve(\"%s\", \"%s\"): URI resolving is not configured in XSLDocument, use #with(URIResolver) method",
5049
href, base
5150
)

src/test/java/com/jcabi/xml/XMLDocumentTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public void findWithXpathListEqualsToJavaUtilList() {
104104
@Test
105105
public void findsWithXpathAndNamespaces() {
106106
final XML doc = new XMLDocument(
107-
// @checkstyle LineLength (1 line)
108107
"<html xmlns='http://www.w3.org/1999/xhtml'><div>\u0443\u0440\u0430!</div></html>"
109108
);
110109
MatcherAssert.assertThat(

0 commit comments

Comments
 (0)