Permalink
Browse files

Update copyright notices

  • Loading branch information...
1 parent 49a7823 commit c580034534b6e86afbc198e00eb0d3b00175d7d2 Robert Newson committed Dec 22, 2012
Showing with 617 additions and 280 deletions.
  1. +16 −0 pom.xml
  2. +16 −0 src/main/assembly/dist.xml
  3. +16 −0 src/main/java/com/github/rnewson/couchdb/lucene/Config.java
  4. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/CustomQueryParser.java
  5. +16 −0 src/main/java/com/github/rnewson/couchdb/lucene/DatabaseIndexer.java
  6. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/DocumentConverter.java
  7. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/HttpClientFactory.java
  8. +16 −0 src/main/java/com/github/rnewson/couchdb/lucene/IndexKey.java
  9. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/JSONErrorHandler.java
  10. +16 −0 src/main/java/com/github/rnewson/couchdb/lucene/JsonTermVectorMapper.java
  11. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/LuceneServlet.java
  12. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/Main.java
  13. +16 −0 src/main/java/com/github/rnewson/couchdb/lucene/PathParts.java
  14. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/QueryPlan.java
  15. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/Tika.java
  16. +16 −16 src/main/java/com/github/rnewson/couchdb/lucene/TypedField.java
  17. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/Couch.java
  18. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/CouchDocument.java
  19. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/Database.java
  20. +16 −0 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/DatabaseInfo.java
  21. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/DesignDocument.java
  22. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/FieldType.java
  23. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/HttpUtils.java
  24. +16 −0 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/UpdateSequence.java
  25. +9 −8 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/View.java
  26. +16 −16 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/ViewSettings.java
  27. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/rhino/JSLog.java
  28. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/rhino/RhinoDocument.java
  29. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/util/Analyzers.java
  30. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/util/Constants.java
  31. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/util/ErrorPreservingResponseHandler.java
  32. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/util/ServletUtils.java
  33. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/util/StatusCodeResponseHandler.java
  34. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/util/StopWatch.java
  35. +8 −8 src/main/java/com/github/rnewson/couchdb/lucene/util/Utils.java
  36. +16 −0 src/main/resources/log4j.xml
  37. +16 −0 src/main/webapp/WEB-INF/web.xml
  38. +16 −0 src/test/java/com/github/rnewson/couchdb/lucene/ConfigTest.java
  39. +16 −0 src/test/java/com/github/rnewson/couchdb/lucene/CustomQueryParserTest.java
  40. +16 −0 src/test/java/com/github/rnewson/couchdb/lucene/DocumentConverterTest.java
  41. +16 −0 src/test/java/com/github/rnewson/couchdb/lucene/JsonTest.java
  42. +16 −0 src/test/java/com/github/rnewson/couchdb/lucene/PathPartsTest.java
  43. +8 −8 src/test/java/com/github/rnewson/couchdb/lucene/TikaTest.java
  44. +16 −16 src/test/java/com/github/rnewson/couchdb/lucene/couchdb/CouchDocumentTest.java
  45. +16 −16 src/test/java/com/github/rnewson/couchdb/lucene/couchdb/DesignDocumentTest.java
  46. +16 −0 src/test/java/com/github/rnewson/couchdb/lucene/couchdb/UpdateSequenceTest.java
  47. +16 −16 src/test/java/com/github/rnewson/couchdb/lucene/couchdb/ViewTest.java
  48. +16 −0 src/test/java/com/github/rnewson/couchdb/lucene/util/AnalyzersTest.java
  49. +16 −0 src/test/java/com/github/rnewson/couchdb/lucene/util/UtilsTest.java
  50. +16 −0 src/test/resources/example.xml
  51. +16 −0 src/test/resources/log4j.xml
View
16 pom.xml
@@ -1,3 +1,19 @@
+<!--
+ ~ Copyright Robert Newson
+ ~
+ ~ 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.
+ -->
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.rnewson.couchdb.lucene</groupId>
View
@@ -1,3 +1,19 @@
+<!--
+ ~ Copyright Robert Newson
+ ~
+ ~ 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.
+ -->
+
<assembly>
<id>dist</id>
<formats>
@@ -1,3 +1,19 @@
+/*
+ * Copyright Robert Newson
+ *
+ * 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 com.github.rnewson.couchdb.lucene;
import java.io.File;
@@ -1,13 +1,11 @@
-package com.github.rnewson.couchdb.lucene;
-
-/**
- * Copyright 2009 Robert Newson
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
+/*
+ * Copyright Robert Newson
+ *
+ * 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
+ * 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,
@@ -16,6 +14,8 @@
* limitations under the License.
*/
+package com.github.rnewson.couchdb.lucene;
+
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.queryParser.ParseException;
import org.apache.lucene.queryParser.QueryParser;
@@ -1,3 +1,19 @@
+/*
+ * Copyright Robert Newson
+ *
+ * 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 com.github.rnewson.couchdb.lucene;
import static java.lang.Math.max;
@@ -1,13 +1,11 @@
-package com.github.rnewson.couchdb.lucene;
-
-/**
- * Copyright 2009 Robert Newson
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
+/*
+ * Copyright Robert Newson
+ *
+ * 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
+ * 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,
@@ -16,6 +14,8 @@
* limitations under the License.
*/
+package com.github.rnewson.couchdb.lucene;
+
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
@@ -1,13 +1,11 @@
-package com.github.rnewson.couchdb.lucene;
-
-/**
- * Copyright 2009 Robert Newson
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
+/*
+ * Copyright Robert Newson
+ *
+ * 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
+ * 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,
@@ -16,6 +14,8 @@
* limitations under the License.
*/
+package com.github.rnewson.couchdb.lucene;
+
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
@@ -1,3 +1,19 @@
+/*
+ * Copyright Robert Newson
+ *
+ * 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 com.github.rnewson.couchdb.lucene;
import javax.servlet.http.HttpServletRequest;
@@ -1,13 +1,11 @@
-package com.github.rnewson.couchdb.lucene;
-
-/**
- * Copyright 2009 Robert Newson
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
+/*
+ * Copyright Robert Newson
+ *
+ * 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
+ * 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,
@@ -16,6 +14,8 @@
* limitations under the License.
*/
+package com.github.rnewson.couchdb.lucene;
+
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
@@ -1,3 +1,19 @@
+/*
+ * Copyright Robert Newson
+ *
+ * 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 com.github.rnewson.couchdb.lucene;
import org.apache.lucene.index.TermVectorMapper;
@@ -1,13 +1,11 @@
-package com.github.rnewson.couchdb.lucene;
-
-/**
- * Copyright 2010 Robert Newson
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
+/*
+ * Copyright Robert Newson
+ *
+ * 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
+ * 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,
@@ -16,6 +14,8 @@
* limitations under the License.
*/
+package com.github.rnewson.couchdb.lucene;
+
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
@@ -1,13 +1,11 @@
-package com.github.rnewson.couchdb.lucene;
-
-/**
- * Copyright 2009 Robert Newson
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
+/*
+ * Copyright Robert Newson
+ *
+ * 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
+ * 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,
@@ -16,6 +14,8 @@
* limitations under the License.
*/
+package com.github.rnewson.couchdb.lucene;
+
import java.io.File;
import org.apache.log4j.Logger;
@@ -1,3 +1,19 @@
+/*
+ * Copyright Robert Newson
+ *
+ * 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 com.github.rnewson.couchdb.lucene;
import java.util.regex.Matcher;
@@ -1,13 +1,11 @@
-package com.github.rnewson.couchdb.lucene;
-
-/**
- * Copyright 2009 Robert Newson
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
+/*
+ * Copyright Robert Newson
+ *
+ * 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
+ * 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,
@@ -16,6 +14,8 @@
* limitations under the License.
*/
+package com.github.rnewson.couchdb.lucene;
+
import org.apache.lucene.search.BooleanClause;
import org.apache.lucene.search.BooleanQuery;
import org.apache.lucene.search.FuzzyQuery;
@@ -1,13 +1,11 @@
-package com.github.rnewson.couchdb.lucene;
-
-/**
- * Copyright 2009 Robert Newson
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
+/*
+ * Copyright Robert Newson
+ *
+ * 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
+ * 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,
@@ -16,6 +14,8 @@
* limitations under the License.
*/
+package com.github.rnewson.couchdb.lucene;
+
import static com.github.rnewson.couchdb.lucene.util.Utils.text;
import java.io.IOException;
Oops, something went wrong.

0 comments on commit c580034

Please sign in to comment.