Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

added license, removed unneccessary println's

Sami Siren832bc09ab6f8
diff --git a/src/test/org/apache/nutch/protocol/TestProtocolFactory.java b/src/test/org/apache/nutch/protocol/TestProtocolFactory.java
index 3e209c517..9161c887c 100644
--- a/src/test/org/apache/nutch/protocol/TestProtocolFactory.java
+++ b/src/test/org/apache/nutch/protocol/TestProtocolFactory.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed 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.protocol;
import org.apache.hadoop.conf.Configuration;
@@ -39,8 +54,6 @@ public class TestProtocolFactory extends TestCase {
//test same object instance
try {
- System.out.println(httpProtocol);
- System.out.println(factory.getProtocol("http://somehost"));
assertTrue(httpProtocol==factory.getProtocol("http://somehost"));
} catch (ProtocolNotFound e) {
fail("Must not throw any exception");