Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1807 Avoid methods relying on system-specific default locale / charset

Sebastian Nagele807f54d6861
diff --git a/.yetus/blanks-tabs.txt b/.yetus/blanks-tabs.txt
index 389b33dbc..080c828d1 100644
--- a/.yetus/blanks-tabs.txt
+++ b/.yetus/blanks-tabs.txt
@@ -2,3 +2,6 @@
# See --blanks-tabs-ignore-file in the blanks plugin.
^out/
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
diff --git a/src/test/host-protocol-mapping.txt b/src/test/host-protocol-mapping.txt
index 04dc3e1ea..7df4cfb9c 100644
--- a/src/test/host-protocol-mapping.txt
+++ b/src/test/host-protocol-mapping.txt
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# This file defines a hostname to protocol plugin mapping. Each line takes a
# host name followed by a tab, followed by the ID of the protocol plugin. You
# can find the ID in the protocol plugin's plugin.xml file.
diff --git a/src/testresources/forbidden-apis-signatures.txt b/src/testresources/forbidden-apis-signatures.txt
index 264a21351..680d9be7a 100644
--- a/src/testresources/forbidden-apis-signatures.txt
+++ b/src/testresources/forbidden-apis-signatures.txt
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
java.net.URL#equals(java.lang.Object) @ may trigger a DNS lookup to resolve the host part
java.net.URL#hashCode() @ may trigger a DNS lookup to resolve the host part
### NUTCH-3181 Java 20 deprecates all constructors of the class java.net.URL