From ac08fda949fca30959992d67cdf53f0fdbce21ad Mon Sep 17 00:00:00 2001 From: Dan Lew Date: Tue, 8 Nov 2016 08:53:15 -0600 Subject: [PATCH] Added copyright to files that don't have them --- .../android/ViewDetachesOnSubscribe.java | 14 ++++++++++++++ .../trello/rxlifecycle2/components/RxActivity.java | 14 ++++++++++++++ .../rxlifecycle2/components/RxDialogFragment.java | 14 ++++++++++++++ .../trello/rxlifecycle2/components/RxFragment.java | 14 ++++++++++++++ .../components/RxPreferenceFragment.java | 14 ++++++++++++++ .../components/support/RxAppCompatActivity.java | 14 ++++++++++++++ .../support/RxAppCompatDialogFragment.java | 14 ++++++++++++++ .../components/support/RxDialogFragment.java | 14 ++++++++++++++ .../components/support/RxFragment.java | 14 ++++++++++++++ .../components/support/RxFragmentActivity.java | 14 ++++++++++++++ .../navi/ActivityLifecycleProviderImpl.java | 14 ++++++++++++++ .../navi/FragmentLifecycleProviderImpl.java | 14 ++++++++++++++ .../trello/rxlifecycle2/navi/NaviLifecycle.java | 14 ++++++++++++++ .../rxlifecycle2/navi/NaviLifecycleMaps.java | 14 ++++++++++++++ .../java/com/trello/rxlifecycle2/navi/RxUtils.java | 14 ++++++++++++++ .../trello/rxlifecycle2/components/TestUtil.java | 14 ++++++++++++++ .../trello/rxlifecycle2/sample/MainActivity.java | 14 ++++++++++++++ .../trello/rxlifecycle2/sample/KotlinActivity.kt | 14 ++++++++++++++ .../java/com/trello/rxlifecycle2/Functions.java | 14 ++++++++++++++ .../com/trello/rxlifecycle2/LifecycleProvider.java | 14 ++++++++++++++ .../trello/rxlifecycle2/LifecycleTransformer.java | 14 ++++++++++++++ .../rxlifecycle2/OutsideLifecycleException.java | 14 ++++++++++++++ ...rrespondingEventTransformerCompletableTest.java | 14 ++++++++++++++ ...lCorrespondingEventTransformerFlowableTest.java | 14 ++++++++++++++ ...ntilCorrespondingEventTransformerMaybeTest.java | 14 ++++++++++++++ ...orrespondingEventTransformerObservableTest.java | 14 ++++++++++++++ ...tilCorrespondingEventTransformerSingleTest.java | 14 ++++++++++++++ .../UntilEventTransformerCompletableTest.java | 14 ++++++++++++++ .../UntilEventTransformerFlowableTest.java | 14 ++++++++++++++ .../UntilEventTransformerMaybeTest.java | 14 ++++++++++++++ .../UntilEventTransformerObservableTest.java | 14 ++++++++++++++ .../UntilEventTransformerSingleTest.java | 14 ++++++++++++++ .../UntilLifecycleTransformerCompletableTest.java | 14 ++++++++++++++ .../UntilLifecycleTransformerFlowableTest.java | 14 ++++++++++++++ .../UntilLifecycleTransformerMaybeTest.java | 14 ++++++++++++++ .../UntilLifecycleTransformerObservableTest.java | 14 ++++++++++++++ .../UntilLifecycleTransformerSingleTest.java | 14 ++++++++++++++ 37 files changed, 518 insertions(+) diff --git a/rxlifecycle-android/src/main/java/com/trello/rxlifecycle2/android/ViewDetachesOnSubscribe.java b/rxlifecycle-android/src/main/java/com/trello/rxlifecycle2/android/ViewDetachesOnSubscribe.java index 64cbefd..5d72b8a 100644 --- a/rxlifecycle-android/src/main/java/com/trello/rxlifecycle2/android/ViewDetachesOnSubscribe.java +++ b/rxlifecycle-android/src/main/java/com/trello/rxlifecycle2/android/ViewDetachesOnSubscribe.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.android; import android.view.View; diff --git a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxActivity.java b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxActivity.java index fab7429..2b9e6e2 100644 --- a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxActivity.java +++ b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxActivity.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components; import android.app.Activity; diff --git a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxDialogFragment.java b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxDialogFragment.java index ca1b325..8f37487 100644 --- a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxDialogFragment.java +++ b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxDialogFragment.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components; import android.app.DialogFragment; diff --git a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxFragment.java b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxFragment.java index 89d9949..d149912 100644 --- a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxFragment.java +++ b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxFragment.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components; import android.app.Fragment; diff --git a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxPreferenceFragment.java b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxPreferenceFragment.java index 6d6fdf1..4177aa3 100644 --- a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxPreferenceFragment.java +++ b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/RxPreferenceFragment.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components; import android.os.Bundle; diff --git a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxAppCompatActivity.java b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxAppCompatActivity.java index a4cea83..9096d63 100644 --- a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxAppCompatActivity.java +++ b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxAppCompatActivity.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components.support; import android.os.Bundle; diff --git a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxAppCompatDialogFragment.java b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxAppCompatDialogFragment.java index 016d0d4..7fe6276 100644 --- a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxAppCompatDialogFragment.java +++ b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxAppCompatDialogFragment.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components.support; import android.os.Bundle; diff --git a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxDialogFragment.java b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxDialogFragment.java index 8bf86d9..80d629f 100644 --- a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxDialogFragment.java +++ b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxDialogFragment.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components.support; import android.os.Bundle; diff --git a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxFragment.java b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxFragment.java index 85eac5f..466309b 100644 --- a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxFragment.java +++ b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxFragment.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components.support; import android.os.Bundle; diff --git a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxFragmentActivity.java b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxFragmentActivity.java index edb5342..b229152 100644 --- a/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxFragmentActivity.java +++ b/rxlifecycle-components/src/main/java/com/trello/rxlifecycle2/components/support/RxFragmentActivity.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components.support; import android.os.Bundle; diff --git a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/ActivityLifecycleProviderImpl.java b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/ActivityLifecycleProviderImpl.java index c17cafe..4b6a9b6 100644 --- a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/ActivityLifecycleProviderImpl.java +++ b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/ActivityLifecycleProviderImpl.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.navi; import android.support.annotation.CheckResult; diff --git a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/FragmentLifecycleProviderImpl.java b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/FragmentLifecycleProviderImpl.java index d86c144..5e1ffbc 100644 --- a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/FragmentLifecycleProviderImpl.java +++ b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/FragmentLifecycleProviderImpl.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.navi; import android.support.annotation.CheckResult; diff --git a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/NaviLifecycle.java b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/NaviLifecycle.java index ab4b90f..d0f8edd 100644 --- a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/NaviLifecycle.java +++ b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/NaviLifecycle.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.navi; import android.support.annotation.CheckResult; diff --git a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/NaviLifecycleMaps.java b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/NaviLifecycleMaps.java index 34d541c..39bb562 100644 --- a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/NaviLifecycleMaps.java +++ b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/NaviLifecycleMaps.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.navi; import com.trello.navi2.Event; diff --git a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/RxUtils.java b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/RxUtils.java index 34da96c..fa037c4 100644 --- a/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/RxUtils.java +++ b/rxlifecycle-navi/src/main/java/com/trello/rxlifecycle2/navi/RxUtils.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.navi; import io.reactivex.functions.Predicate; diff --git a/rxlifecycle-navi/src/test/java/com/trello/rxlifecycle2/components/TestUtil.java b/rxlifecycle-navi/src/test/java/com/trello/rxlifecycle2/components/TestUtil.java index b766e85..e292037 100644 --- a/rxlifecycle-navi/src/test/java/com/trello/rxlifecycle2/components/TestUtil.java +++ b/rxlifecycle-navi/src/test/java/com/trello/rxlifecycle2/components/TestUtil.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.components; final class TestUtil { diff --git a/rxlifecycle-sample/src/main/java/com/trello/rxlifecycle2/sample/MainActivity.java b/rxlifecycle-sample/src/main/java/com/trello/rxlifecycle2/sample/MainActivity.java index f19ee2d..39e0f12 100644 --- a/rxlifecycle-sample/src/main/java/com/trello/rxlifecycle2/sample/MainActivity.java +++ b/rxlifecycle-sample/src/main/java/com/trello/rxlifecycle2/sample/MainActivity.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.sample; import android.os.Bundle; diff --git a/rxlifecycle-sample/src/main/kotlin/com/trello/rxlifecycle2/sample/KotlinActivity.kt b/rxlifecycle-sample/src/main/kotlin/com/trello/rxlifecycle2/sample/KotlinActivity.kt index 0782ee5..ab28b1d 100644 --- a/rxlifecycle-sample/src/main/kotlin/com/trello/rxlifecycle2/sample/KotlinActivity.kt +++ b/rxlifecycle-sample/src/main/kotlin/com/trello/rxlifecycle2/sample/KotlinActivity.kt @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2.sample import android.os.Bundle diff --git a/rxlifecycle/src/main/java/com/trello/rxlifecycle2/Functions.java b/rxlifecycle/src/main/java/com/trello/rxlifecycle2/Functions.java index b29957a..824c27d 100644 --- a/rxlifecycle/src/main/java/com/trello/rxlifecycle2/Functions.java +++ b/rxlifecycle/src/main/java/com/trello/rxlifecycle2/Functions.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Completable; diff --git a/rxlifecycle/src/main/java/com/trello/rxlifecycle2/LifecycleProvider.java b/rxlifecycle/src/main/java/com/trello/rxlifecycle2/LifecycleProvider.java index e54ed01..dba6391 100644 --- a/rxlifecycle/src/main/java/com/trello/rxlifecycle2/LifecycleProvider.java +++ b/rxlifecycle/src/main/java/com/trello/rxlifecycle2/LifecycleProvider.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Observable; diff --git a/rxlifecycle/src/main/java/com/trello/rxlifecycle2/LifecycleTransformer.java b/rxlifecycle/src/main/java/com/trello/rxlifecycle2/LifecycleTransformer.java index 1a18465..ed5c008 100644 --- a/rxlifecycle/src/main/java/com/trello/rxlifecycle2/LifecycleTransformer.java +++ b/rxlifecycle/src/main/java/com/trello/rxlifecycle2/LifecycleTransformer.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.BackpressureStrategy; diff --git a/rxlifecycle/src/main/java/com/trello/rxlifecycle2/OutsideLifecycleException.java b/rxlifecycle/src/main/java/com/trello/rxlifecycle2/OutsideLifecycleException.java index 386f9aa..1d81f5d 100644 --- a/rxlifecycle/src/main/java/com/trello/rxlifecycle2/OutsideLifecycleException.java +++ b/rxlifecycle/src/main/java/com/trello/rxlifecycle2/OutsideLifecycleException.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import javax.annotation.Nullable; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerCompletableTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerCompletableTest.java index ba76f62..d13793f 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerCompletableTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerCompletableTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Completable; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerFlowableTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerFlowableTest.java index bd54956..6881e35 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerFlowableTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerFlowableTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.functions.Function; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerMaybeTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerMaybeTest.java index ad7e8f5..75e32dd 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerMaybeTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerMaybeTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Maybe; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerObservableTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerObservableTest.java index 7ce8518..90d1aef 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerObservableTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerObservableTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.functions.Function; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerSingleTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerSingleTest.java index 22b1384..e0ce374 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerSingleTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilCorrespondingEventTransformerSingleTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Single; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerCompletableTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerCompletableTest.java index cde7d45..e3aaeaa 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerCompletableTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerCompletableTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Completable; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerFlowableTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerFlowableTest.java index df24541..399f688 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerFlowableTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerFlowableTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.processors.PublishProcessor; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerMaybeTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerMaybeTest.java index 6c44eea..8492216 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerMaybeTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerMaybeTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Maybe; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerObservableTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerObservableTest.java index 4d25302..0ea6549 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerObservableTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerObservableTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.observers.TestObserver; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerSingleTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerSingleTest.java index 46035f4..f4853ae 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerSingleTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilEventTransformerSingleTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Single; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerCompletableTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerCompletableTest.java index 7bf7133..4ad88a5 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerCompletableTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerCompletableTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Completable; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerFlowableTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerFlowableTest.java index 17d39cb..04369f5 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerFlowableTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerFlowableTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.processors.PublishProcessor; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerMaybeTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerMaybeTest.java index 4d6a616..6a920f5 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerMaybeTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerMaybeTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Maybe; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerObservableTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerObservableTest.java index d51c0cb..caa94d9 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerObservableTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerObservableTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.observers.TestObserver; diff --git a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerSingleTest.java b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerSingleTest.java index d4da4b3..2eae583 100644 --- a/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerSingleTest.java +++ b/rxlifecycle/src/test/java/com/trello/rxlifecycle2/UntilLifecycleTransformerSingleTest.java @@ -1,3 +1,17 @@ +/* + * 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.trello.rxlifecycle2; import io.reactivex.Single;