Added missing license headers
Project: http://git-wip-us.apache.org/repos/asf/tika/repo Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/eafe2807 Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/eafe2807 Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/eafe2807 Branch: refs/heads/master Commit: eafe28079277739bd23c7aa9bad0bd6a548473c8 Parents: a991394 Author: trevorlewis <[email protected]> Authored: Tue Mar 15 07:25:02 2016 -0700 Committer: trevorlewis <[email protected]> Committed: Tue Mar 15 07:25:02 2016 -0700 ---------------------------------------------------------------------- .../tika/langdetect/OptimaizeLangDetector.java | 16 ++++++++++++++++ .../apache/tika/langdetect/TextLangDetector.java | 16 ++++++++++++++++ .../tika/langdetect/LanguageDetectorTest.java | 16 ++++++++++++++++ .../tika/langdetect/OptimaizeLangDetectorTest.java | 16 ++++++++++++++++ .../tika/langdetect/TextLangDetectorTest.java | 16 ++++++++++++++++ 5 files changed, 80 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tika/blob/eafe2807/tika-langdetect/src/main/java/org/apache/tika/langdetect/OptimaizeLangDetector.java ---------------------------------------------------------------------- diff --git a/tika-langdetect/src/main/java/org/apache/tika/langdetect/OptimaizeLangDetector.java b/tika-langdetect/src/main/java/org/apache/tika/langdetect/OptimaizeLangDetector.java index 7461df7..0aabbe8 100644 --- a/tika-langdetect/src/main/java/org/apache/tika/langdetect/OptimaizeLangDetector.java +++ b/tika-langdetect/src/main/java/org/apache/tika/langdetect/OptimaizeLangDetector.java @@ -1,3 +1,19 @@ +/* + * 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. + */ package org.apache.tika.langdetect; import java.io.CharArrayWriter; http://git-wip-us.apache.org/repos/asf/tika/blob/eafe2807/tika-langdetect/src/main/java/org/apache/tika/langdetect/TextLangDetector.java ---------------------------------------------------------------------- diff --git a/tika-langdetect/src/main/java/org/apache/tika/langdetect/TextLangDetector.java b/tika-langdetect/src/main/java/org/apache/tika/langdetect/TextLangDetector.java index 903a60c..29c6527 100644 --- a/tika-langdetect/src/main/java/org/apache/tika/langdetect/TextLangDetector.java +++ b/tika-langdetect/src/main/java/org/apache/tika/langdetect/TextLangDetector.java @@ -1,3 +1,19 @@ +/* + * 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. + */ package org.apache.tika.langdetect; import com.google.gson.JsonArray; http://git-wip-us.apache.org/repos/asf/tika/blob/eafe2807/tika-langdetect/src/test/java/org/apache/tika/langdetect/LanguageDetectorTest.java ---------------------------------------------------------------------- diff --git a/tika-langdetect/src/test/java/org/apache/tika/langdetect/LanguageDetectorTest.java b/tika-langdetect/src/test/java/org/apache/tika/langdetect/LanguageDetectorTest.java index 7bc2873..d5a87a7 100644 --- a/tika-langdetect/src/test/java/org/apache/tika/langdetect/LanguageDetectorTest.java +++ b/tika-langdetect/src/test/java/org/apache/tika/langdetect/LanguageDetectorTest.java @@ -1,3 +1,19 @@ +/* + * 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. + */ package org.apache.tika.langdetect; import static java.nio.charset.StandardCharsets.UTF_8; http://git-wip-us.apache.org/repos/asf/tika/blob/eafe2807/tika-langdetect/src/test/java/org/apache/tika/langdetect/OptimaizeLangDetectorTest.java ---------------------------------------------------------------------- diff --git a/tika-langdetect/src/test/java/org/apache/tika/langdetect/OptimaizeLangDetectorTest.java b/tika-langdetect/src/test/java/org/apache/tika/langdetect/OptimaizeLangDetectorTest.java index d980b15..3bf6f8c 100644 --- a/tika-langdetect/src/test/java/org/apache/tika/langdetect/OptimaizeLangDetectorTest.java +++ b/tika-langdetect/src/test/java/org/apache/tika/langdetect/OptimaizeLangDetectorTest.java @@ -1,3 +1,19 @@ +/* + * 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. + */ package org.apache.tika.langdetect; import static org.junit.Assert.assertEquals; http://git-wip-us.apache.org/repos/asf/tika/blob/eafe2807/tika-langdetect/src/test/java/org/apache/tika/langdetect/TextLangDetectorTest.java ---------------------------------------------------------------------- diff --git a/tika-langdetect/src/test/java/org/apache/tika/langdetect/TextLangDetectorTest.java b/tika-langdetect/src/test/java/org/apache/tika/langdetect/TextLangDetectorTest.java index 9d256da..9b4bdd1 100644 --- a/tika-langdetect/src/test/java/org/apache/tika/langdetect/TextLangDetectorTest.java +++ b/tika-langdetect/src/test/java/org/apache/tika/langdetect/TextLangDetectorTest.java @@ -1,3 +1,19 @@ +/* + * 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. + */ package org.apache.tika.langdetect; import org.apache.tika.io.IOUtils;
