Skip to content

Add missing nullability annotations to Remote Config. #608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2019

Conversation

vkryachko
Copy link
Member

No description provided.

@vkryachko vkryachko requested a review from miraziz July 12, 2019 16:57
@googlebot googlebot added cla: yes Override cla labels Jul 12, 2019
Copy link
Contributor

@miraziz miraziz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We left the @nonnull out of readability purposes, but since it can optimize Kotlin code, makes sense to add it here.

@vkryachko vkryachko merged commit 732a5f8 into kotlin_nullability Jul 15, 2019
vkryachko added a commit that referenced this pull request Jul 29, 2019
* Add proper nullability annotations to firebase-common. (#599)

* Add missing nullability annotations to Functions. (#601)

* Add nullability annotations, remove `@PublicApi` annotations for Storage. (#602)

* Add missing nullability annotations to Storage.

* Remove redundant `@PublicApi` annotation.

* Address review comments.

*  Add nullability annotations, remove `@PublicApi` annotations for RTDB. (#603)

* Add missing nullability annotations to RTDB.

* Remove redundant `@PublicApi` annotations.

* Update changelog.

* Add missing nullability annotations to Firestore. (#600)

* Add missing nullability annotations to Firestore.

Additionally remove uses of the redundant `@PublicApi` annotation.

* Remove varargs nullability annotations.

As they don't have any effect on the resulting kotlin nullability.

* gJF

* Add androidx.annotation lint detector.

The detector finds usages of non-androidx, non-android.support
nullability annotations and provides automatic ide fixes for such
violations.

Android Support annotations are allowed as a transitional step until
internal androidx migration is fully completed.

* Change nullability check:

* disable by default(will enable in a separate PR)
* ignore kotlin source files

* Address review comments

* Address review comments.

* ktlintFormat

* @hide abt public classes (#609)

* Fix timeouts in Functions. (#606)

This commit resolves #604 by setting both the read and call timeouts.
The connect and write timeouts are left at their default values of 10
seconds.

* Report the correct version for the RTDB (#605)

* Add missing package-info.java files for A/B Testing.

The SDK doesn't have user-visible API, so it should be correctly
annotated with javadoc's @hide.

* Add missing nullability annotations to Remote Config. (#608)
@vkryachko vkryachko deleted the vk.config_nullability branch August 21, 2019 21:38
@firebase firebase locked and limited conversation to collaborators Oct 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants