From 54b6ed3c22a903f1fcdfe8a16ea9af9d80658a08 Mon Sep 17 00:00:00 2001 From: Arnaud Giuliani Date: Mon, 16 Sep 2024 12:18:13 +0200 Subject: [PATCH] missing licence header --- .../org/koin/viewmodel/CreationNavExtrasExt.kt | 15 +++++++++++++++ .../kotlin/org/koin/viewmodel/BundleExt.kt | 15 +++++++++++++++ .../org/koin/viewmodel/CreationExtrasExt.kt | 15 +++++++++++++++ .../kotlin/org/koin/viewmodel/GetViewModel.kt | 15 +++++++++++++++ .../viewmodel/factory/AndroidParametersHolder.kt | 15 +++++++++++++++ .../viewmodel/factory/KoinViewModelFactory.kt | 15 +++++++++++++++ .../test/verify/CircularInjectionException.kt | 16 ++++++++++++++++ .../verify/MissingKoinDefinitionException.kt | 16 ++++++++++++++++ .../koin/test/verify/ParameterTypeInjection.kt | 15 +++++++++++++++ .../kotlin/org/koin/test/verify/Verification.kt | 15 +++++++++++++++ .../kotlin/org/koin/test/verify/VerifyModule.kt | 15 +++++++++++++++ 11 files changed, 167 insertions(+) diff --git a/projects/core/koin-core-viewmodel-navigation/src/commonMain/kotlin/org/koin/viewmodel/CreationNavExtrasExt.kt b/projects/core/koin-core-viewmodel-navigation/src/commonMain/kotlin/org/koin/viewmodel/CreationNavExtrasExt.kt index 8baf871b0..a187fbe95 100644 --- a/projects/core/koin-core-viewmodel-navigation/src/commonMain/kotlin/org/koin/viewmodel/CreationNavExtrasExt.kt +++ b/projects/core/koin-core-viewmodel-navigation/src/commonMain/kotlin/org/koin/viewmodel/CreationNavExtrasExt.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.viewmodel import androidx.lifecycle.HasDefaultViewModelProviderFactory diff --git a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/BundleExt.kt b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/BundleExt.kt index fd0744a21..53274ee0b 100644 --- a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/BundleExt.kt +++ b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/BundleExt.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.viewmodel import androidx.core.bundle.Bundle diff --git a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/CreationExtrasExt.kt b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/CreationExtrasExt.kt index 3742a4664..68c7c3cc9 100644 --- a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/CreationExtrasExt.kt +++ b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/CreationExtrasExt.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.viewmodel import androidx.lifecycle.HasDefaultViewModelProviderFactory diff --git a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/GetViewModel.kt b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/GetViewModel.kt index 856dfdcdc..ba822121a 100644 --- a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/GetViewModel.kt +++ b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/GetViewModel.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.viewmodel import androidx.annotation.MainThread diff --git a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/factory/AndroidParametersHolder.kt b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/factory/AndroidParametersHolder.kt index c0cbecb31..f6a02b399 100644 --- a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/factory/AndroidParametersHolder.kt +++ b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/factory/AndroidParametersHolder.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.viewmodel.factory import androidx.lifecycle.SavedStateHandle diff --git a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/factory/KoinViewModelFactory.kt b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/factory/KoinViewModelFactory.kt index 5d14789d9..90e0b590c 100644 --- a/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/factory/KoinViewModelFactory.kt +++ b/projects/core/koin-core-viewmodel/src/commonMain/kotlin/org/koin/viewmodel/factory/KoinViewModelFactory.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.viewmodel.factory import androidx.lifecycle.ViewModel diff --git a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/CircularInjectionException.kt b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/CircularInjectionException.kt index 335d3b6f8..b2251fcbb 100644 --- a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/CircularInjectionException.kt +++ b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/CircularInjectionException.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.test.verify class CircularInjectionException(msg: String) : Exception(msg) diff --git a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/MissingKoinDefinitionException.kt b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/MissingKoinDefinitionException.kt index 632bb48a3..a1926d486 100644 --- a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/MissingKoinDefinitionException.kt +++ b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/MissingKoinDefinitionException.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.test.verify class MissingKoinDefinitionException(msg: String) : Exception(msg) diff --git a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/ParameterTypeInjection.kt b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/ParameterTypeInjection.kt index 762d25980..330438fe5 100644 --- a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/ParameterTypeInjection.kt +++ b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/ParameterTypeInjection.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.test.verify import org.koin.core.annotation.KoinExperimentalAPI diff --git a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/Verification.kt b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/Verification.kt index 5d71b7cc3..e14dd0ee9 100644 --- a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/Verification.kt +++ b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/Verification.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.test.verify import org.koin.core.annotation.KoinExperimentalAPI diff --git a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/VerifyModule.kt b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/VerifyModule.kt index dc1fe0c60..3c5bd4752 100644 --- a/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/VerifyModule.kt +++ b/projects/core/koin-test/src/jvmMain/kotlin/org/koin/test/verify/VerifyModule.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2017-Present the original author or authors. + * + * 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 org.koin.test.verify import org.koin.core.module.Module