Skip to content

Commit 54d0e21

Browse files
committed
466 Fix google-java-format line wrapping in JSoupParserBolt
1 parent 15f47a9 commit 54d0e21

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/src/main/java/org/apache/stormcrawler/bolt/JSoupParserBolt.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ public void execute(Tuple tuple) {
315315
// nofollow
316316
String[] relkeywords = link.attr("rel").split(" ");
317317
boolean noFollow =
318-
Stream.of(relkeywords).anyMatch(x -> x.equalsIgnoreCase("nofollow"));
318+
Stream.of(relkeywords)
319+
.anyMatch(x -> x.equalsIgnoreCase("nofollow"));
319320

320321
// remove altogether
321322
if (noFollow && robotsNoFollowStrict) {

0 commit comments

Comments
 (0)