Skip to content

Apache Lucene open-source search software

missing license headers

Noble Paula66a97c5dbca
diff --git a/solr/src/java/org/apache/solr/handler/component/HttpShardHandler.java b/solr/src/java/org/apache/solr/handler/component/HttpShardHandler.java
index 255ddceda5c..fc2557461c9 100644
--- a/solr/src/java/org/apache/solr/handler/component/HttpShardHandler.java
+++ b/solr/src/java/org/apache/solr/handler/component/HttpShardHandler.java
@@ -1,4 +1,20 @@
package org.apache.solr.handler.component;
+/**
+ * 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.
+ */
import org.apache.solr.client.solrj.SolrRequest;
import org.apache.solr.client.solrj.SolrResponse;
diff --git a/solr/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java b/solr/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
index fbb40664641..6d92f9554d5 100644
--- a/solr/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
+++ b/solr/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
@@ -1,4 +1,20 @@
package org.apache.solr.handler.component;
+/**
+ * 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.
+ */
import org.apache.commons.httpclient.DefaultHttpMethodRetryHandler;
import org.apache.commons.httpclient.HttpClient;
@@ -18,11 +34,7 @@ import java.util.concurrent.SynchronousQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
-/**
- * @author [email protected] (noblep01)
- * Date: 6/21/11
- * Time: 12:14 PM
- */
+
public class HttpShardHandlerFactory extends ShardHandlerFactory implements PluginInfoInitialized{
protected static Logger log = LoggerFactory.getLogger(HttpShardHandlerFactory.class);
diff --git a/solr/src/java/org/apache/solr/handler/component/ShardHandler.java b/solr/src/java/org/apache/solr/handler/component/ShardHandler.java
index b769435adff..401eecda2b0 100644
--- a/solr/src/java/org/apache/solr/handler/component/ShardHandler.java
+++ b/solr/src/java/org/apache/solr/handler/component/ShardHandler.java
@@ -1,4 +1,20 @@
package org.apache.solr.handler.component;
+/**
+ * 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.
+ */
import org.apache.solr.common.params.ModifiableSolrParams;
diff --git a/solr/src/java/org/apache/solr/handler/component/ShardHandlerFactory.java b/solr/src/java/org/apache/solr/handler/component/ShardHandlerFactory.java
index 3410ba160a7..e1bc0dd8810 100644
--- a/solr/src/java/org/apache/solr/handler/component/ShardHandlerFactory.java
+++ b/solr/src/java/org/apache/solr/handler/component/ShardHandlerFactory.java
@@ -1,4 +1,20 @@
package org.apache.solr.handler.component;
+/**
+ * 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.
+ */
public abstract class ShardHandlerFactory {