From 679a3b3201596af8e550b73399bd8a3e2c083cc8 Mon Sep 17 00:00:00 2001
From: lewismc
Date: Fri, 2 Oct 2026 07:26:57 -0700
Subject: [PATCH] NUTCH-3215 Remove trailing whitespace reported by Yetus
blanks on master
---
.yetus/blanks-tabs.txt | 8 +-
conf/parse-plugins.xml.template | 148 +++++------
conf/subcollections.xml.template | 12 +-
ivy/mvn.template | 2 +-
.../LICENSE-bouncy-castle-licence.txt | 6 +-
licenses-binary/LICENSE-bsd.txt | 22 +-
...ENSE-eclipse-distribution-license-v1.0.txt | 40 +--
.../LICENSE-unicode-icu-license.txt | 2 +-
src/java/org/apache/nutch/crawl/CrawlDb.java | 6 +-
.../nutch/fetcher/FetcherThreadEvent.java | 12 +-
.../nutch/fetcher/FetcherThreadPublisher.java | 4 +-
.../org/apache/nutch/indexer/IndexingJob.java | 4 +-
src/java/org/apache/nutch/metadata/Nutch.java | 56 ++--
.../org/apache/nutch/parse/ParseSegment.java | 2 +-
.../nutch/protocol/RobotRulesParser.java | 6 +-
.../nutch/publisher/NutchPublishers.java | 4 +-
.../nutch/scoring/webgraph/NodeDumper.java | 6 +-
.../apache/nutch/segment/SegmentChecker.java | 2 +-
.../apache/nutch/tools/CommonCrawlConfig.java | 240 +++++++++---------
.../nutch/tools/CommonCrawlFormatFactory.java | 24 +-
.../nutch/tools/CommonCrawlFormatJackson.java | 144 +++++------
.../tools/CommonCrawlFormatJettinson.java | 170 ++++++-------
.../nutch/tools/CommonCrawlFormatSimple.java | 186 +++++++-------
.../nutch/util/CrawlCompletionStats.java | 4 +-
.../org/apache/nutch/util/DumpFileUtil.java | 84 +++---
.../nutch/util/ProtocolStatusStatistics.java | 8 +-
src/plugin/build-plugin.xml | 2 +-
src/plugin/feed/build.xml | 28 +-
src/plugin/feed/plugin.xml | 30 +--
src/plugin/feed/sample/rsstest.rss | 28 +-
.../arbitrary/ArbitraryIndexingFilter.java | 54 ++--
.../nutch/indexer/arbitrary/Multiplier.java | 4 +-
.../indexer/arbitrary/PopularityGauge.java | 10 +-
src/plugin/index-replace/build.xml | 68 ++---
.../nutch/indexer/replace/ReplaceIndexer.java | 2 +-
src/plugin/indexer-cloudsearch/ivy.xml | 2 +-
src/plugin/indexer-solr/ivy.xml | 88 +++----
src/plugin/indexer-solr/plugin.xml | 96 +++----
src/plugin/indexer-solr/schema.xml | 48 ++--
.../analysis/lang/LanguageIndexingFilter.java | 2 +-
.../protocol/htmlunit/HtmlUnitWebDriver.java | 40 +--
src/plugin/lib-xml/build.xml | 20 +-
src/plugin/parse-metatags/build.xml | 26 +-
src/plugin/parse-tika/sample/nutch.html | 24 +-
src/plugin/parse-tika/sample/rsstest.rss | 28 +-
.../tika/BoilerpipeExtractorRepository.java | 2 +-
.../scoring/depth/DepthScoringFilter.java | 2 +-
.../apache/nutch/parse/parse-plugin-test.xml | 8 +-
48 files changed, 910 insertions(+), 904 deletions(-)
diff --git a/.yetus/blanks-tabs.txt b/.yetus/blanks-tabs.txt
index 080c828d16..dee87e8e85 100644
--- a/.yetus/blanks-tabs.txt
+++ b/.yetus/blanks-tabs.txt
@@ -4,4 +4,10 @@
CHANGES.md
# some configuration files define key-value mappings using tabs
^conf/.*\.txt\.template
-^src/test/host-protocol-mapping\.txt
\ No newline at end of file
+^src/test/host-protocol-mapping\.txt
+# Tab-delimited data or a documented tab layout, not indentation.
+^src/plugin/urlnormalizer-protocol/data/protocols\.txt
+^src/plugin/parsefilter-regex/data/regex-parsefilter\.txt
+^src/plugin/parsefilter-regex/README\.txt
+# Fixture bytes, including a leading BOM.
+^src/plugin/parse-tika/sample/ootest\.txt
diff --git a/conf/parse-plugins.xml.template b/conf/parse-plugins.xml.template
index f085084d96..f900e630a2 100644
--- a/conf/parse-plugins.xml.template
+++ b/conf/parse-plugins.xml.template
@@ -1,96 +1,96 @@
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/conf/subcollections.xml.template b/conf/subcollections.xml.template
index 7b8805d50a..dca67ef0ff 100644
--- a/conf/subcollections.xml.template
+++ b/conf/subcollections.xml.template
@@ -16,13 +16,13 @@
limitations under the License.
-->
-
- nutch
- nutch
-
+
+ nutch
+ nutch
+
http://lucene.apache.org/nutch/
http://wiki.apache.org/nutch/
-
-
+
+
diff --git a/ivy/mvn.template b/ivy/mvn.template
index f4653f739b..73fe239c88 100644
--- a/ivy/mvn.template
+++ b/ivy/mvn.template
@@ -72,7 +72,7 @@
markus
Markus Jelsma
markus@apache.org
-
+
fenglu
Feng Lu
diff --git a/licenses-binary/LICENSE-bouncy-castle-licence.txt b/licenses-binary/LICENSE-bouncy-castle-licence.txt
index 16db5c5253..2fe6b7bdae 100644
--- a/licenses-binary/LICENSE-bouncy-castle-licence.txt
+++ b/licenses-binary/LICENSE-bouncy-castle-licence.txt
@@ -11,7 +11,7 @@ Please note this should be read in the same way as the MIT license.
Please also note this licensing model is made possible through funding from donations and the sale of support contracts.
License
Copyright (c) 2000 - 2021 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org)
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/licenses-binary/LICENSE-bsd.txt b/licenses-binary/LICENSE-bsd.txt
index c2e90c495a..e28c5645bb 100644
--- a/licenses-binary/LICENSE-bsd.txt
+++ b/licenses-binary/LICENSE-bsd.txt
@@ -6,19 +6,19 @@
BSD license definition
-The BSD license is a class of extremely simple and very liberal licenses for computer software that was originally developed at the University of California at Berkeley (UCB). It was first used in 1980 for the Berkeley Source Distribution (BSD), also known as BSD UNIX, an enhanced version of the original UNIX operating system that was first written in 1969 by Ken Thompson at Bell Labs.
+The BSD license is a class of extremely simple and very liberal licenses for computer software that was originally developed at the University of California at Berkeley (UCB). It was first used in 1980 for the Berkeley Source Distribution (BSD), also known as BSD UNIX, an enhanced version of the original UNIX operating system that was first written in 1969 by Ken Thompson at Bell Labs.
-The only restrictions placed on users of software released under a typical BSD license are that if they redistribute such software in any form, with or without modification, they must include in the redistribution (1) the original copyright notice, (2) a list of two simple restrictions and (3) a disclaimer of liability. These restrictions can be summarized as (1) one should not claim that they wrote the software if they did not write it and (2) one should not sue the developer if the software does not function as expected or as desired. Some BSD licenses additionally include a clause that restricts the use of the name of the project (or the names of its contributors) for endorsing or promoting derivative works.
+The only restrictions placed on users of software released under a typical BSD license are that if they redistribute such software in any form, with or without modification, they must include in the redistribution (1) the original copyright notice, (2) a list of two simple restrictions and (3) a disclaimer of liability. These restrictions can be summarized as (1) one should not claim that they wrote the software if they did not write it and (2) one should not sue the developer if the software does not function as expected or as desired. Some BSD licenses additionally include a clause that restricts the use of the name of the project (or the names of its contributors) for endorsing or promoting derivative works.
-The most basic definition of a derivative work is a product that is based on, or incorporates, one or more already existing works. This can become a complex issue, particularly with regard to software, but the primary indicator that a software program is a derivative of another program is if it includes source code from the original program, even if the source code has been modified, including improving, extending, reordering or translating it into another programming language.
+The most basic definition of a derivative work is a product that is based on, or incorporates, one or more already existing works. This can become a complex issue, particularly with regard to software, but the primary indicator that a software program is a derivative of another program is if it includes source code from the original program, even if the source code has been modified, including improving, extending, reordering or translating it into another programming language.
Source code is the version of software (usually an application program or an operating system) as it is originally written (i.e., typed into a computer) by a human in plain text (i.e., human readable alphanumeric characters). Source code can be written in any of hundreds of programming languages, some of the most popular of which are C, C++ and Java.
-Due to the extremely minimal restrictions of BSD-style licenses, software released under such licenses can be freely modified and used in proprietary (i.e., commercial) software for which the source code is kept secret.
+Due to the extremely minimal restrictions of BSD-style licenses, software released under such licenses can be freely modified and used in proprietary (i.e., commercial) software for which the source code is kept secret.
It is possible for a product to be distributed under a BSD-style license and for some other license to apply as well. This was, in fact, the case with very early versions of BSD UNIX, which included both new code written at UCB and code from the original versions of UNIX written at Bell Labs.
@@ -29,8 +29,8 @@ BSD-style licenses have been very successful, and they are now widely used for a
BSD Licenses Versus the GPL
-
-The GPL (GNU General Public License) is by far the most widely used license for free software (i.e., software whose source code is available at no cost for anyone to use for any purpose). The Linux kernel (i.e., the core of the operating system) as well as much of the other software generally included in Linux distributions have been released under the terms of the GPL.
+
+The GPL (GNU General Public License) is by far the most widely used license for free software (i.e., software whose source code is available at no cost for anyone to use for any purpose). The Linux kernel (i.e., the core of the operating system) as well as much of the other software generally included in Linux distributions have been released under the terms of the GPL.
Although far fewer programs are released under BSD-style licenses, this class of licenses is disproportionately important because of the widespread use of BSD-licensed code in both free and proprietary operating systems.
@@ -69,7 +69,7 @@ The original version of the BSD license contained the so called advertising clau
One of the problems with this clause arose from the fact that people who made changes to the source code often wanted to have their names added to the acknowledgment. This could easily result in large and cumbersome acknowledgments for products with numerous contributors and for software distributions consisting of multiple individual projects.
-A second problem was legal incompatibility with the terms of the GPL. This is because the GPL prohibits the addition of restrictions beyond those that it already imposes. Thus it was necessary to segregate GPL and BSD-licensed software within projects.
+A second problem was legal incompatibility with the terms of the GPL. This is because the GPL prohibits the addition of restrictions beyond those that it already imposes. Thus it was necessary to segregate GPL and BSD-licensed software within projects.
Initially, the "obnoxious BSD advertising clause," as it was referred to by GPL advocates, was used only for the BSD UNIX license. That did not cause any major problems because it was only necessary to include a single sentence of acknowledgment in any advertisement.
@@ -78,7 +78,7 @@ Initially, the "obnoxious BSD advertising clause," as it was referred to by GPL
However, the fact that other software developers did not copy the clause verbatim, but replaced the phrase "University of California" with the name of their own organization or persons involved in it, resulted in a proliferation of slightly different licenses and a consequently serious problem when many such programs were assembled to form a larger work or an operating system. For example, if an operating system or other program required fifty slightly different acknowledgment sentences, each naming a different developer or group of developers, such advertising alone might require a full page. Not only would this be very tedious reading, but it could also be costly.
-In June 1999, after two years of discussion, the Office of Technology Licensing at UCB finally proclaimed: "Effective immediately, licensees and distributors are no longer required to include the acknowledgment within advertising materials. Accordingly, the foregoing paragraph of those BSD Unix files containing it is hereby deleted in its entirety."
+In June 1999, after two years of discussion, the Office of Technology Licensing at UCB finally proclaimed: "Effective immediately, licensees and distributors are no longer required to include the acknowledgment within advertising materials. Accordingly, the foregoing paragraph of those BSD Unix files containing it is hereby deleted in its entirety."
This was clearly very useful. However, it could not eliminate the legacy of the advertising clause, as similar clauses still exist in the licenses of many programs that followed the old BSD license; only the developers of such packages can change them.
@@ -96,7 +96,7 @@ Below are three examples of BSD-style licenses: (1) the BSD license as it is use
Copyright 1994-2004 The FreeBSD Project. All rights reserved.
-
+
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the
following conditions are met:
@@ -140,7 +140,7 @@ or implied, of the FreeBSD Project.
-
+
Sudo License
Sudo is distributed under the following BSD-style license:
@@ -182,7 +182,7 @@ Additionally, lsearch.c, fnmatch.c, getcwd.c, snprintf.c strcasecmp.c and fnmatc
-(3) A template for a BSD-style license. [YEAR], [COPYRIGHT OWNER] and [LICENSOR] are to be replaced by the actual year of copyright, the owner of the copyright and the licensor. The copyright owner and licensor may be the same, as in the case of the license for FreeBSD (as shown above).
+(3) A template for a BSD-style license. [YEAR], [COPYRIGHT OWNER] and [LICENSOR] are to be replaced by the actual year of copyright, the owner of the copyright and the licensor. The copyright owner and licensor may be the same, as in the case of the license for FreeBSD (as shown above).
diff --git a/licenses-binary/LICENSE-eclipse-distribution-license-v1.0.txt b/licenses-binary/LICENSE-eclipse-distribution-license-v1.0.txt
index 347787f3ea..83c4cd7f15 100644
--- a/licenses-binary/LICENSE-eclipse-distribution-license-v1.0.txt
+++ b/licenses-binary/LICENSE-eclipse-distribution-license-v1.0.txt
@@ -5,26 +5,26 @@ Eclipse Distribution License | The Eclipse Foundation
Eclipse Distribution License - v 1.0
-Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors.
+Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors.
All rights reserved.
-Redistribution and use in source and binary forms, with or without modification,
- are permitted provided that the following conditions are met:
-Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-Neither the name of the Eclipse Foundation, Inc. nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+Neither the name of the Eclipse Foundation, Inc. nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
diff --git a/licenses-binary/LICENSE-unicode-icu-license.txt b/licenses-binary/LICENSE-unicode-icu-license.txt
index 17ff27e7b5..68c30f4c9e 100644
--- a/licenses-binary/LICENSE-unicode-icu-license.txt
+++ b/licenses-binary/LICENSE-unicode-icu-license.txt
@@ -312,7 +312,7 @@ Lao Word Break Dictionary Data (laodict.txt)
# License: https://github.com/rober42539/lao-dictionary/LICENSE.txt
# (copied below)
#
- # This file is derived from the above dictionary version of Nov 22, 2020
+ # This file is derived from the above dictionary version of Nov 22, 2020
# ----------------------------------------------------------------------
# Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell.
# All rights reserved.
diff --git a/src/java/org/apache/nutch/crawl/CrawlDb.java b/src/java/org/apache/nutch/crawl/CrawlDb.java
index e27fba6731..bdd3dfc034 100644
--- a/src/java/org/apache/nutch/crawl/CrawlDb.java
+++ b/src/java/org/apache/nutch/crawl/CrawlDb.java
@@ -342,12 +342,12 @@ else if(args.containsKey(Nutch.ARG_SEGMENTS)) {
Object segments = args.get(Nutch.ARG_SEGMENTS);
ArrayList segmentList = new ArrayList<>();
if(segments instanceof ArrayList) {
- segmentList = (ArrayList)segments;
+ segmentList = (ArrayList)segments;
}
else if(segments instanceof Path){
- segmentList.add(segments.toString());
+ segmentList.add(segments.toString());
}
-
+
for(String segment: segmentList) {
dirs.add(new Path(segment));
}
diff --git a/src/java/org/apache/nutch/fetcher/FetcherThreadEvent.java b/src/java/org/apache/nutch/fetcher/FetcherThreadEvent.java
index 2d1d4b5583..b634b84918 100644
--- a/src/java/org/apache/nutch/fetcher/FetcherThreadEvent.java
+++ b/src/java/org/apache/nutch/fetcher/FetcherThreadEvent.java
@@ -93,15 +93,15 @@ public String getUrl() {
/**
* Set URL of this event (fetched page)
- * @param url URL of the fetched page
+ * @param url URL of the fetched page
*/
public void setUrl(String url) {
this.url = url;
}
/**
* Add new data to the eventData object.
- * @param key A key to refer to the data being added to this event
- * @param value Data to be stored in the event referenced by the above key
+ * @param key A key to refer to the data being added to this event
+ * @param value Data to be stored in the event referenced by the above key
*/
public void addEventData(String key, Object value) {
if(eventData == null) {
@@ -113,8 +113,8 @@ public void addEventData(String key, Object value) {
/**
* Given a collection of lists this method will add it
* the oultink metadata
- * @param links A collection of outlinks generating from the fetched page
- * this event refers to
+ * @param links A collection of outlinks generating from the fetched page
+ * this event refers to
*/
public void addOutlinksToEventData(Collection links) {
ArrayList
09 February 2009 - Lucene at ApacheCon Europe 2009 in
- Amsterdam
+ Amsterdam
-
+
-
-
+
+
- Lucene will be extremely well represented at
- ApacheCon EU 2009
- in Amsterdam, Netherlands this March 23-27, 2009:
-
+ Lucene will be extremely well represented at
+ ApacheCon EU 2009
+ in Amsterdam, Netherlands this March 23-27, 2009:
+
-
+
-
-
+
Lucene Boot Camp
- - A two day training session, March 23 & 24th
+ - A two day training session, March 23 & 24th
-
Solr Boot Camp - A one day training session, March 24th
diff --git a/src/plugin/parse-tika/sample/rsstest.rss b/src/plugin/parse-tika/sample/rsstest.rss
index 8fb241d62a..5384526391 100644
--- a/src/plugin/parse-tika/sample/rsstest.rss
+++ b/src/plugin/parse-tika/sample/rsstest.rss
@@ -1,19 +1,19 @@
diff --git a/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/BoilerpipeExtractorRepository.java b/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/BoilerpipeExtractorRepository.java
index 5d65318b6e..1403546afa 100644
--- a/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/BoilerpipeExtractorRepository.java
+++ b/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/BoilerpipeExtractorRepository.java
@@ -26,7 +26,7 @@
class BoilerpipeExtractorRepository {
private static final Logger LOG = LoggerFactory
- .getLogger(MethodHandles.lookup().lookupClass());
+ .getLogger(MethodHandles.lookup().lookupClass());
public static final HashMap extractorRepository = new HashMap<>();
/**
diff --git a/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/DepthScoringFilter.java b/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/DepthScoringFilter.java
index 561bdca1f4..88bdf9a579 100644
--- a/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/DepthScoringFilter.java
+++ b/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/DepthScoringFilter.java
@@ -48,7 +48,7 @@
public class DepthScoringFilter extends Configured implements ScoringFilter {
private static final Logger LOG = LoggerFactory
- .getLogger(MethodHandles.lookup().lookupClass());
+ .getLogger(MethodHandles.lookup().lookupClass());
public static final String DEPTH_KEY = "_depth_";
public static final Text DEPTH_KEY_W = new Text(DEPTH_KEY);
diff --git a/src/test/org/apache/nutch/parse/parse-plugin-test.xml b/src/test/org/apache/nutch/parse/parse-plugin-test.xml
index f6a4267763..2eeb483915 100644
--- a/src/test/org/apache/nutch/parse/parse-plugin-test.xml
+++ b/src/test/org/apache/nutch/parse/parse-plugin-test.xml
@@ -26,7 +26,7 @@
-
+
-
+
-
+
@@ -53,6 +53,6 @@
+ extension-id="org.apache.nutch.parse.tika.TikaParser" />