Author: siren
Date: Sun Jun 18 04:38:32 2006
New Revision: 415121
URL: http://svn.apache.org/viewvc?rev=415121&view=rev
Log:
added license, removed unneccessary println's
Modified:
lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java
Modified:
lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java
URL:
http://svn.apache.org/viewvc/lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java?rev=415121&r1=415120&r2=415121&view=diff
==============================================================================
---
lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java
(original)
+++
lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java
Sun Jun 18 04:38:32 2006
@@ -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 @@
//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");