From: PJ Fanning Date: Thu, 26 May 2022 15:22:01 +0000 (+0000) Subject: add missing licenses X-Git-Tag: REL_5_2_3~279 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e94b376880194432abf08909f59224609f7b7904;p=poi.git add missing licenses git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901296 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi/src/main/java/org/apache/poi/ss/formula/atp/Stdevp.java b/poi/src/main/java/org/apache/poi/ss/formula/atp/Stdevp.java index 765ea02cb2..aa22c96a24 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/atp/Stdevp.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/atp/Stdevp.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.poi.ss.formula.atp; import org.apache.poi.ss.formula.OperationEvaluationContext; diff --git a/poi/src/main/java/org/apache/poi/ss/formula/atp/Stdevs.java b/poi/src/main/java/org/apache/poi/ss/formula/atp/Stdevs.java index f2beab15d9..d174bf0845 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/atp/Stdevs.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/atp/Stdevs.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.poi.ss.formula.atp; import org.apache.poi.ss.formula.OperationEvaluationContext; diff --git a/poi/src/main/java/org/apache/poi/ss/formula/atp/Varp.java b/poi/src/main/java/org/apache/poi/ss/formula/atp/Varp.java index 84133665e3..e21a2572f4 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/atp/Varp.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/atp/Varp.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.poi.ss.formula.atp; import org.apache.poi.ss.formula.OperationEvaluationContext; diff --git a/poi/src/main/java/org/apache/poi/ss/formula/atp/Vars.java b/poi/src/main/java/org/apache/poi/ss/formula/atp/Vars.java index 18c4f16273..714280bce3 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/atp/Vars.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/atp/Vars.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.poi.ss.formula.atp; import org.apache.poi.ss.formula.OperationEvaluationContext; diff --git a/poi/src/test/java/org/apache/poi/ss/formula/atp/TestWorkdayFunction.java b/poi/src/test/java/org/apache/poi/ss/formula/atp/TestWorkdayFunction.java index 527a74a4be..28cdaa8d04 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/atp/TestWorkdayFunction.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/atp/TestWorkdayFunction.java @@ -171,7 +171,7 @@ class TestWorkdayFunction { assertEquals(expDate, actDate); } - private class MockAreaEval extends AreaEvalBase { + private static class MockAreaEval extends AreaEvalBase { private List holidays; diff --git a/poi/src/test/java/org/apache/poi/ss/formula/atp/TestWorkdayIntlFunction.java b/poi/src/test/java/org/apache/poi/ss/formula/atp/TestWorkdayIntlFunction.java index 18e2c240a2..e2ebfbe145 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/atp/TestWorkdayIntlFunction.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/atp/TestWorkdayIntlFunction.java @@ -203,7 +203,7 @@ class TestWorkdayIntlFunction { assertEquals(40944.0, numberValue); } - private class MockAreaEval extends AreaEvalBase { + private static class MockAreaEval extends AreaEvalBase { private List holidays;