google / google/ExoPlayer

Fix @NullableType annotations to be compatible with Kotlin

Open
#6,792 6 comments 0 reactions 1 assignee Claimed by @tonihei View on GitHub
bug
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/7680469/71236447-f93f3a80-2339-11ea-86c0-668b2eaec60b.png)

return type can be null, but I got compile error

![image](https://user-images.githubusercontent.com/7680469/71236590-4e7b4c00-233a-11ea-9771-c2003057d053.png)
```kotlin
rendererConfigurations = Array()
rendererTrackSelections = Array()
```
I think it's right to pass arrayOfNull

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.