JakeWharton / JakeWharton/timber

Malformed string args is not being caught by Lint check

Open
#287 1 comment 0 reactions 1 assignee Claimed by @jrodbx View on GitHub
Dominant language
Kotlin
Stars
10.9k
Forks
994
Avg merge
17h 16m
Merged PRs (30d)
17

Description

The following example will crash at runtime:

```java
package foo;
import timber.log.Timber;
public class Example {
public void log() {
Timber.d("%", "something");
}
}
```

This could be detected by lint and we might even be able to quickfix this by resolving the type of the passed arguments.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.