Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Add license headers (SOLR-2382 new classes)

James Dyer33645d3764a6
diff --git a/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DIHPropertiesWriter.java b/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DIHPropertiesWriter.java
index 473ee7d5ba0..7971d74be65 100644
--- a/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DIHPropertiesWriter.java
+++ b/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DIHPropertiesWriter.java
@@ -1,4 +1,5 @@
package org.apache.solr.handler.dataimport;
+
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -15,19 +16,17 @@ package org.apache.solr.handler.dataimport;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
import java.util.Properties;
-/**
- * @since solr 3.2
- */
public interface DIHPropertiesWriter {
-
- public void init(DataImporter dataImporter);
-
- public boolean isWritable();
-
- public void persist(Properties props);
-
- public Properties readIndexerProperties();
-
+
+ public void init(DataImporter dataImporter);
+
+ public boolean isWritable();
+
+ public void persist(Properties props);
+
+ public Properties readIndexerProperties();
+
}
diff --git a/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/DestroyCountCache.java b/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/DestroyCountCache.java
index 6efc1230f63..223a1cc22fc 100644
--- a/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/DestroyCountCache.java
+++ b/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/DestroyCountCache.java
@@ -1,3 +1,5 @@
+package org.apache.solr.handler.dataimport;
+
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,7 +16,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.solr.handler.dataimport;
import static org.hamcrest.CoreMatchers.nullValue;
diff --git a/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestEphemeralCache.java b/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestEphemeralCache.java
index 8ecd82bda44..09a002c81bd 100644
--- a/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestEphemeralCache.java
+++ b/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestEphemeralCache.java
@@ -1,3 +1,5 @@
+package org.apache.solr.handler.dataimport;
+
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -14,7 +16,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.solr.handler.dataimport;
import java.math.BigDecimal;
import java.util.ArrayList;