Repository: tika Updated Branches: refs/heads/2.x 251f68002 -> 58adf80dd
Add 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/02cae8a8 Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/02cae8a8 Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/02cae8a8 Branch: refs/heads/2.x Commit: 02cae8a83bb67e8c741c39e2c8251f45178a2a69 Parents: a1a2cdc Author: Ken Krugler <[email protected]> Authored: Thu Mar 10 11:17:01 2016 -0800 Committer: Ken Krugler <[email protected]> Committed: Thu Mar 10 11:17:01 2016 -0800 ---------------------------------------------------------------------- .../tika/language/detect/LanguageConfidence.java | 16 ++++++++++++++++ .../tika/language/detect/LanguageDetector.java | 16 ++++++++++++++++ .../apache/tika/language/detect/LanguageNames.java | 16 ++++++++++++++++ .../apache/tika/language/detect/LanguageResult.java | 16 ++++++++++++++++ .../tika/language/detect/LanguageNamesTest.java | 16 ++++++++++++++++ 5 files changed, 80 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tika/blob/02cae8a8/tika-core/src/main/java/org/apache/tika/language/detect/LanguageConfidence.java ---------------------------------------------------------------------- diff --git a/tika-core/src/main/java/org/apache/tika/language/detect/LanguageConfidence.java b/tika-core/src/main/java/org/apache/tika/language/detect/LanguageConfidence.java index fcd4485..1828040 100644 --- a/tika-core/src/main/java/org/apache/tika/language/detect/LanguageConfidence.java +++ b/tika-core/src/main/java/org/apache/tika/language/detect/LanguageConfidence.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.language.detect; public enum LanguageConfidence { http://git-wip-us.apache.org/repos/asf/tika/blob/02cae8a8/tika-core/src/main/java/org/apache/tika/language/detect/LanguageDetector.java ---------------------------------------------------------------------- diff --git a/tika-core/src/main/java/org/apache/tika/language/detect/LanguageDetector.java b/tika-core/src/main/java/org/apache/tika/language/detect/LanguageDetector.java index 94cc741..7be4e4f 100644 --- a/tika-core/src/main/java/org/apache/tika/language/detect/LanguageDetector.java +++ b/tika-core/src/main/java/org/apache/tika/language/detect/LanguageDetector.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.language.detect; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/tika/blob/02cae8a8/tika-core/src/main/java/org/apache/tika/language/detect/LanguageNames.java ---------------------------------------------------------------------- diff --git a/tika-core/src/main/java/org/apache/tika/language/detect/LanguageNames.java b/tika-core/src/main/java/org/apache/tika/language/detect/LanguageNames.java index d659753..78b02ac 100644 --- a/tika-core/src/main/java/org/apache/tika/language/detect/LanguageNames.java +++ b/tika-core/src/main/java/org/apache/tika/language/detect/LanguageNames.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.language.detect; import java.util.Locale; http://git-wip-us.apache.org/repos/asf/tika/blob/02cae8a8/tika-core/src/main/java/org/apache/tika/language/detect/LanguageResult.java ---------------------------------------------------------------------- diff --git a/tika-core/src/main/java/org/apache/tika/language/detect/LanguageResult.java b/tika-core/src/main/java/org/apache/tika/language/detect/LanguageResult.java index 6952ae9..aaa503b 100644 --- a/tika-core/src/main/java/org/apache/tika/language/detect/LanguageResult.java +++ b/tika-core/src/main/java/org/apache/tika/language/detect/LanguageResult.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.language.detect; import java.util.Locale; http://git-wip-us.apache.org/repos/asf/tika/blob/02cae8a8/tika-core/src/test/java/org/apache/tika/language/detect/LanguageNamesTest.java ---------------------------------------------------------------------- diff --git a/tika-core/src/test/java/org/apache/tika/language/detect/LanguageNamesTest.java b/tika-core/src/test/java/org/apache/tika/language/detect/LanguageNamesTest.java index 4951670..d7a0fc1 100644 --- a/tika-core/src/test/java/org/apache/tika/language/detect/LanguageNamesTest.java +++ b/tika-core/src/test/java/org/apache/tika/language/detect/LanguageNamesTest.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.language.detect; import static org.junit.Assert.*;
