Apache Nutch is an extensible and scalable web crawler
NUTCH-688 add missing headers, part 1 core
Sami Sirene30c6ca1ffc5
diff --git a/src/java/org/apache/nutch/crawl/NutchWritable.java b/src/java/org/apache/nutch/crawl/NutchWritable.javaindex 8c4ebd562..ef5f00978 100644--- a/src/java/org/apache/nutch/crawl/NutchWritable.java+++ b/src/java/org/apache/nutch/crawl/NutchWritable.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.crawl;import org.apache.hadoop.io.Writable;@@ -8,7 +24,7 @@ public class NutchWritable extends GenericWritableConfigurable {private static Class<? extends Writable>[] CLASSES = null;static {- CLASSES = (Class<? extends Writable>[]) new Class[] {+ CLASSES = new Class[] {org.apache.hadoop.io.NullWritable.class,org.apache.hadoop.io.LongWritable.class,org.apache.hadoop.io.BytesWritable.class,diff --git a/src/java/org/apache/nutch/indexer/IndexerMapReduce.java b/src/java/org/apache/nutch/indexer/IndexerMapReduce.javaindex 5447f7c20..8a93d76b7 100644--- a/src/java/org/apache/nutch/indexer/IndexerMapReduce.java+++ b/src/java/org/apache/nutch/indexer/IndexerMapReduce.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer;import java.io.IOException;diff --git a/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java b/src/java/org/apache/nutch/indexer/IndexerOutputFormat.javaindex a98c1a8c7..ba7f1a00e 100644--- a/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java+++ b/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer;import java.io.IOException;diff --git a/src/java/org/apache/nutch/indexer/NutchDocument.java b/src/java/org/apache/nutch/indexer/NutchDocument.javaindex 892ab13d5..60d60caa8 100644--- a/src/java/org/apache/nutch/indexer/NutchDocument.java+++ b/src/java/org/apache/nutch/indexer/NutchDocument.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer;import java.io.DataInput;diff --git a/src/java/org/apache/nutch/indexer/NutchIndexWriter.java b/src/java/org/apache/nutch/indexer/NutchIndexWriter.javaindex a620c264c..24db8db13 100644--- a/src/java/org/apache/nutch/indexer/NutchIndexWriter.java+++ b/src/java/org/apache/nutch/indexer/NutchIndexWriter.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer;import java.io.IOException;diff --git a/src/java/org/apache/nutch/indexer/NutchIndexWriterFactory.java b/src/java/org/apache/nutch/indexer/NutchIndexWriterFactory.javaindex be6995f0a..a81bb7bab 100644--- a/src/java/org/apache/nutch/indexer/NutchIndexWriterFactory.java+++ b/src/java/org/apache/nutch/indexer/NutchIndexWriterFactory.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer;import org.apache.hadoop.conf.Configuration;diff --git a/src/java/org/apache/nutch/indexer/NutchSimilarity.java b/src/java/org/apache/nutch/indexer/NutchSimilarity.javaindex b8deca40f..a7528e256 100644--- a/src/java/org/apache/nutch/indexer/NutchSimilarity.java+++ b/src/java/org/apache/nutch/indexer/NutchSimilarity.java@@ -1,4 +1,4 @@-/**+/** 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.@@ -14,7 +14,6 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.nutch.indexer;import org.apache.lucene.search.DefaultSimilarity;diff --git a/src/java/org/apache/nutch/indexer/field/AnchorFields.java b/src/java/org/apache/nutch/indexer/field/AnchorFields.javaindex bbaf9478a..0464b77b3 100644--- a/src/java/org/apache/nutch/indexer/field/AnchorFields.java+++ b/src/java/org/apache/nutch/indexer/field/AnchorFields.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;import java.io.IOException;diff --git a/src/java/org/apache/nutch/indexer/field/BasicFields.java b/src/java/org/apache/nutch/indexer/field/BasicFields.javaindex 40b639e0a..3809d1d3c 100644--- a/src/java/org/apache/nutch/indexer/field/BasicFields.java+++ b/src/java/org/apache/nutch/indexer/field/BasicFields.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;import java.io.IOException;diff --git a/src/java/org/apache/nutch/indexer/field/CustomFields.java b/src/java/org/apache/nutch/indexer/field/CustomFields.javaindex d378898c1..abd79a950 100644--- a/src/java/org/apache/nutch/indexer/field/CustomFields.java+++ b/src/java/org/apache/nutch/indexer/field/CustomFields.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;import java.io.IOException;diff --git a/src/java/org/apache/nutch/indexer/field/FieldFilter.java b/src/java/org/apache/nutch/indexer/field/FieldFilter.javaindex 6edf303ec..da02519d6 100644--- a/src/java/org/apache/nutch/indexer/field/FieldFilter.java+++ b/src/java/org/apache/nutch/indexer/field/FieldFilter.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;import java.util.List;diff --git a/src/java/org/apache/nutch/indexer/field/FieldFilters.java b/src/java/org/apache/nutch/indexer/field/FieldFilters.javaindex d846415cd..6c54447b3 100644--- a/src/java/org/apache/nutch/indexer/field/FieldFilters.java+++ b/src/java/org/apache/nutch/indexer/field/FieldFilters.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;import java.util.ArrayList;diff --git a/src/java/org/apache/nutch/indexer/field/FieldIndexer.java b/src/java/org/apache/nutch/indexer/field/FieldIndexer.javaindex e2fefe680..0dbad7b11 100644--- a/src/java/org/apache/nutch/indexer/field/FieldIndexer.java+++ b/src/java/org/apache/nutch/indexer/field/FieldIndexer.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;import java.io.DataInput;diff --git a/src/java/org/apache/nutch/indexer/field/FieldType.java b/src/java/org/apache/nutch/indexer/field/FieldType.javaindex c4695ac87..5c8b7b4ad 100644--- a/src/java/org/apache/nutch/indexer/field/FieldType.java+++ b/src/java/org/apache/nutch/indexer/field/FieldType.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;/**diff --git a/src/java/org/apache/nutch/indexer/field/FieldWritable.java b/src/java/org/apache/nutch/indexer/field/FieldWritable.javaindex 8859d0d35..6e050e69f 100644--- a/src/java/org/apache/nutch/indexer/field/FieldWritable.java+++ b/src/java/org/apache/nutch/indexer/field/FieldWritable.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;import java.io.DataInput;diff --git a/src/java/org/apache/nutch/indexer/field/Fields.java b/src/java/org/apache/nutch/indexer/field/Fields.javaindex 8cf4a7d0f..a8b41c8d9 100644--- a/src/java/org/apache/nutch/indexer/field/Fields.java+++ b/src/java/org/apache/nutch/indexer/field/Fields.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;public interface Fields {diff --git a/src/java/org/apache/nutch/indexer/field/FieldsWritable.java b/src/java/org/apache/nutch/indexer/field/FieldsWritable.javaindex 346c69551..72d7bf217 100644--- a/src/java/org/apache/nutch/indexer/field/FieldsWritable.java+++ b/src/java/org/apache/nutch/indexer/field/FieldsWritable.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.field;import java.io.DataInput;diff --git a/src/java/org/apache/nutch/indexer/lucene/LuceneConstants.java b/src/java/org/apache/nutch/indexer/lucene/LuceneConstants.javaindex 34489ac22..0960ef0d3 100644--- a/src/java/org/apache/nutch/indexer/lucene/LuceneConstants.java+++ b/src/java/org/apache/nutch/indexer/lucene/LuceneConstants.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.lucene;public interface LuceneConstants {diff --git a/src/java/org/apache/nutch/indexer/lucene/LuceneWriter.java b/src/java/org/apache/nutch/indexer/lucene/LuceneWriter.javaindex 243626ee4..a28bd3898 100644--- a/src/java/org/apache/nutch/indexer/lucene/LuceneWriter.java+++ b/src/java/org/apache/nutch/indexer/lucene/LuceneWriter.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.lucene;import java.io.IOException;diff --git a/src/java/org/apache/nutch/indexer/solr/SolrConstants.java b/src/java/org/apache/nutch/indexer/solr/SolrConstants.javaindex 249f13d12..04fe82f8d 100644--- a/src/java/org/apache/nutch/indexer/solr/SolrConstants.java+++ b/src/java/org/apache/nutch/indexer/solr/SolrConstants.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.solr;public interface SolrConstants {diff --git a/src/java/org/apache/nutch/indexer/solr/SolrIndexer.java b/src/java/org/apache/nutch/indexer/solr/SolrIndexer.javaindex aef74672b..ce18e1117 100644--- a/src/java/org/apache/nutch/indexer/solr/SolrIndexer.java+++ b/src/java/org/apache/nutch/indexer/solr/SolrIndexer.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.solr;import java.io.IOException;diff --git a/src/java/org/apache/nutch/indexer/solr/SolrWriter.java b/src/java/org/apache/nutch/indexer/solr/SolrWriter.javaindex c42e0aa54..7a9664afb 100644--- a/src/java/org/apache/nutch/indexer/solr/SolrWriter.java+++ b/src/java/org/apache/nutch/indexer/solr/SolrWriter.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.indexer.solr;import java.io.IOException;diff --git a/src/java/org/apache/nutch/scoring/webgraph/LinkDatum.java b/src/java/org/apache/nutch/scoring/webgraph/LinkDatum.javaindex 631634ad7..769d20f37 100644--- a/src/java/org/apache/nutch/scoring/webgraph/LinkDatum.java+++ b/src/java/org/apache/nutch/scoring/webgraph/LinkDatum.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.DataInput;diff --git a/src/java/org/apache/nutch/scoring/webgraph/LinkDumper.java b/src/java/org/apache/nutch/scoring/webgraph/LinkDumper.javaindex 4b0dff964..07985cb32 100644--- a/src/java/org/apache/nutch/scoring/webgraph/LinkDumper.java+++ b/src/java/org/apache/nutch/scoring/webgraph/LinkDumper.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.DataInput;diff --git a/src/java/org/apache/nutch/scoring/webgraph/LinkRank.java b/src/java/org/apache/nutch/scoring/webgraph/LinkRank.javaindex 91fbeaabe..11e666438 100644--- a/src/java/org/apache/nutch/scoring/webgraph/LinkRank.java+++ b/src/java/org/apache/nutch/scoring/webgraph/LinkRank.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.BufferedReader;diff --git a/src/java/org/apache/nutch/scoring/webgraph/LoopReader.java b/src/java/org/apache/nutch/scoring/webgraph/LoopReader.javaindex 8cae922a9..43dfd4411 100644--- a/src/java/org/apache/nutch/scoring/webgraph/LoopReader.java+++ b/src/java/org/apache/nutch/scoring/webgraph/LoopReader.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.IOException;diff --git a/src/java/org/apache/nutch/scoring/webgraph/Loops.java b/src/java/org/apache/nutch/scoring/webgraph/Loops.javaindex 8fc95f016..a55a3857f 100644--- a/src/java/org/apache/nutch/scoring/webgraph/Loops.java+++ b/src/java/org/apache/nutch/scoring/webgraph/Loops.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.DataInput;diff --git a/src/java/org/apache/nutch/scoring/webgraph/Node.java b/src/java/org/apache/nutch/scoring/webgraph/Node.javaindex b0f32feff..9ade35663 100644--- a/src/java/org/apache/nutch/scoring/webgraph/Node.java+++ b/src/java/org/apache/nutch/scoring/webgraph/Node.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.DataInput;diff --git a/src/java/org/apache/nutch/scoring/webgraph/NodeDumper.java b/src/java/org/apache/nutch/scoring/webgraph/NodeDumper.javaindex b4802d8b1..322d9ab28 100644--- a/src/java/org/apache/nutch/scoring/webgraph/NodeDumper.java+++ b/src/java/org/apache/nutch/scoring/webgraph/NodeDumper.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.IOException;diff --git a/src/java/org/apache/nutch/scoring/webgraph/NodeReader.java b/src/java/org/apache/nutch/scoring/webgraph/NodeReader.javaindex 54b84c05e..b6d483ba5 100644--- a/src/java/org/apache/nutch/scoring/webgraph/NodeReader.java+++ b/src/java/org/apache/nutch/scoring/webgraph/NodeReader.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.IOException;diff --git a/src/java/org/apache/nutch/scoring/webgraph/ScoreUpdater.java b/src/java/org/apache/nutch/scoring/webgraph/ScoreUpdater.javaindex 37f3502f5..31570f0b5 100644--- a/src/java/org/apache/nutch/scoring/webgraph/ScoreUpdater.java+++ b/src/java/org/apache/nutch/scoring/webgraph/ScoreUpdater.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.IOException;diff --git a/src/java/org/apache/nutch/scoring/webgraph/WebGraph.java b/src/java/org/apache/nutch/scoring/webgraph/WebGraph.javaindex 4801d7233..17353e09a 100644--- a/src/java/org/apache/nutch/scoring/webgraph/WebGraph.java+++ b/src/java/org/apache/nutch/scoring/webgraph/WebGraph.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.scoring.webgraph;import java.io.IOException;diff --git a/src/java/org/apache/nutch/searcher/DistributedSearchBean.java b/src/java/org/apache/nutch/searcher/DistributedSearchBean.javaindex 1845d6760..1fb2236a7 100644--- a/src/java/org/apache/nutch/searcher/DistributedSearchBean.java+++ b/src/java/org/apache/nutch/searcher/DistributedSearchBean.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher;import java.io.IOException;diff --git a/src/java/org/apache/nutch/searcher/DistributedSegmentBean.java b/src/java/org/apache/nutch/searcher/DistributedSegmentBean.javaindex ae8fa50c0..3651064f3 100644--- a/src/java/org/apache/nutch/searcher/DistributedSegmentBean.java+++ b/src/java/org/apache/nutch/searcher/DistributedSegmentBean.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher;import java.io.IOException;diff --git a/src/java/org/apache/nutch/searcher/RPCSearchBean.java b/src/java/org/apache/nutch/searcher/RPCSearchBean.javaindex df380a9e7..e62a34c41 100644--- a/src/java/org/apache/nutch/searcher/RPCSearchBean.java+++ b/src/java/org/apache/nutch/searcher/RPCSearchBean.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher;import org.apache.hadoop.ipc.VersionedProtocol;diff --git a/src/java/org/apache/nutch/searcher/RPCSegmentBean.java b/src/java/org/apache/nutch/searcher/RPCSegmentBean.javaindex 25f0112b1..a31ac0589 100644--- a/src/java/org/apache/nutch/searcher/RPCSegmentBean.java+++ b/src/java/org/apache/nutch/searcher/RPCSegmentBean.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher;import org.apache.hadoop.ipc.VersionedProtocol;diff --git a/src/java/org/apache/nutch/searcher/SearchBean.java b/src/java/org/apache/nutch/searcher/SearchBean.javaindex 966d30ff8..8a713861b 100644--- a/src/java/org/apache/nutch/searcher/SearchBean.java+++ b/src/java/org/apache/nutch/searcher/SearchBean.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher;import java.io.IOException;diff --git a/src/java/org/apache/nutch/searcher/SegmentBean.java b/src/java/org/apache/nutch/searcher/SegmentBean.javaindex 23fe40165..81422a7c0 100644--- a/src/java/org/apache/nutch/searcher/SegmentBean.java+++ b/src/java/org/apache/nutch/searcher/SegmentBean.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher;import java.io.IOException;diff --git a/src/java/org/apache/nutch/searcher/SolrSearchBean.java b/src/java/org/apache/nutch/searcher/SolrSearchBean.javaindex 6d642f48c..a553b7c51 100644--- a/src/java/org/apache/nutch/searcher/SolrSearchBean.java+++ b/src/java/org/apache/nutch/searcher/SolrSearchBean.java@@ -1,4 +1,4 @@-/**+/** 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.@@ -14,7 +14,6 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.nutch.searcher;import java.io.IOException;diff --git a/src/java/org/apache/nutch/searcher/Summary.java b/src/java/org/apache/nutch/searcher/Summary.javaindex bccac15bb..e9edacbe6 100644--- a/src/java/org/apache/nutch/searcher/Summary.java+++ b/src/java/org/apache/nutch/searcher/Summary.java@@ -1,4 +1,4 @@-/**+/** 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.@@ -14,7 +14,6 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.nutch.searcher;// JDK importsdiff --git a/src/java/org/apache/nutch/searcher/response/RequestUtils.java b/src/java/org/apache/nutch/searcher/response/RequestUtils.javaindex ecac14b27..eae393923 100644--- a/src/java/org/apache/nutch/searcher/response/RequestUtils.java+++ b/src/java/org/apache/nutch/searcher/response/RequestUtils.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher.response;import javax.servlet.http.HttpServletRequest;diff --git a/src/java/org/apache/nutch/searcher/response/ResponseWriter.java b/src/java/org/apache/nutch/searcher/response/ResponseWriter.javaindex 0db85b86f..7154f1096 100644--- a/src/java/org/apache/nutch/searcher/response/ResponseWriter.java+++ b/src/java/org/apache/nutch/searcher/response/ResponseWriter.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher.response;import java.io.IOException;diff --git a/src/java/org/apache/nutch/searcher/response/ResponseWriters.java b/src/java/org/apache/nutch/searcher/response/ResponseWriters.javaindex 5527598ec..4043035c6 100644--- a/src/java/org/apache/nutch/searcher/response/ResponseWriters.java+++ b/src/java/org/apache/nutch/searcher/response/ResponseWriters.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher.response;import java.util.HashMap;diff --git a/src/java/org/apache/nutch/searcher/response/SearchResults.java b/src/java/org/apache/nutch/searcher/response/SearchResults.javaindex d6fcf20db..f7e1826e3 100644--- a/src/java/org/apache/nutch/searcher/response/SearchResults.java+++ b/src/java/org/apache/nutch/searcher/response/SearchResults.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher.response;import org.apache.nutch.searcher.Hit;diff --git a/src/java/org/apache/nutch/searcher/response/SearchServlet.java b/src/java/org/apache/nutch/searcher/response/SearchServlet.javaindex a48c7d100..7d3491114 100644--- a/src/java/org/apache/nutch/searcher/response/SearchServlet.java+++ b/src/java/org/apache/nutch/searcher/response/SearchServlet.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.searcher.response;import java.io.IOException;diff --git a/src/java/org/apache/nutch/segment/ContentAsTextInputFormat.java b/src/java/org/apache/nutch/segment/ContentAsTextInputFormat.javaindex 698532737..233df5f4b 100644--- a/src/java/org/apache/nutch/segment/ContentAsTextInputFormat.java+++ b/src/java/org/apache/nutch/segment/ContentAsTextInputFormat.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.segment;import java.io.IOException;diff --git a/src/java/org/apache/nutch/segment/SegmentMerger.java b/src/java/org/apache/nutch/segment/SegmentMerger.javaindex 421321b5e..113cd8586 100644--- a/src/java/org/apache/nutch/segment/SegmentMerger.java+++ b/src/java/org/apache/nutch/segment/SegmentMerger.java@@ -1,4 +1,4 @@-/**+/** 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.@@ -14,7 +14,6 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.nutch.segment;import java.io.IOException;diff --git a/src/java/org/apache/nutch/segment/SegmentPart.java b/src/java/org/apache/nutch/segment/SegmentPart.javaindex 656d6b6a2..ea56fb451 100644--- a/src/java/org/apache/nutch/segment/SegmentPart.java+++ b/src/java/org/apache/nutch/segment/SegmentPart.java@@ -14,7 +14,6 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.nutch.segment;import java.io.IOException;diff --git a/src/java/org/apache/nutch/segment/SegmentReader.java b/src/java/org/apache/nutch/segment/SegmentReader.javaindex fa0b8bd7d..9abdd9ec8 100644--- a/src/java/org/apache/nutch/segment/SegmentReader.java+++ b/src/java/org/apache/nutch/segment/SegmentReader.java@@ -14,7 +14,6 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.nutch.segment;import java.io.BufferedReader;diff --git a/src/java/org/apache/nutch/tools/ResolveUrls.java b/src/java/org/apache/nutch/tools/ResolveUrls.javaindex cb6a42e11..4cf496eee 100644--- a/src/java/org/apache/nutch/tools/ResolveUrls.java+++ b/src/java/org/apache/nutch/tools/ResolveUrls.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.tools;import java.io.BufferedReader;diff --git a/src/java/org/apache/nutch/tools/SearchLoadTester.java b/src/java/org/apache/nutch/tools/SearchLoadTester.javaindex fbb3d2860..2db17645b 100644--- a/src/java/org/apache/nutch/tools/SearchLoadTester.java+++ b/src/java/org/apache/nutch/tools/SearchLoadTester.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.tools;import java.io.BufferedReader;diff --git a/src/java/org/apache/nutch/tools/compat/ReprUrlFixer.java b/src/java/org/apache/nutch/tools/compat/ReprUrlFixer.javaindex d115f43c7..8594960f4 100644--- a/src/java/org/apache/nutch/tools/compat/ReprUrlFixer.java+++ b/src/java/org/apache/nutch/tools/compat/ReprUrlFixer.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.tools.compat;import java.io.IOException;diff --git a/src/java/org/apache/nutch/util/EncodingDetector.java b/src/java/org/apache/nutch/util/EncodingDetector.javaindex 25a68e550..b0440805c 100644--- a/src/java/org/apache/nutch/util/EncodingDetector.java+++ b/src/java/org/apache/nutch/util/EncodingDetector.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.util;import java.io.BufferedInputStream;diff --git a/src/java/org/apache/nutch/util/FSUtils.java b/src/java/org/apache/nutch/util/FSUtils.javaindex 960b71fde..2815665ce 100644--- a/src/java/org/apache/nutch/util/FSUtils.java+++ b/src/java/org/apache/nutch/util/FSUtils.java@@ -1,3 +1,19 @@+/*+ * 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.+ */package org.apache.nutch.util;import java.io.IOException;