Summary: As per title. Reviewed By: jvillard Differential Revision: D22019654 fbshipit-source-id: 70c2fcd10master
parent
301580a819
commit
ed97456a2b
@ -0,0 +1,9 @@
|
||||
This error is reported when the argument types to a `printf` method do not match the format string.
|
||||
|
||||
```java
|
||||
void stringInsteadOfInteger(PrintStream out) {
|
||||
out.printf("Hello %d", "world");
|
||||
}
|
||||
```
|
||||
|
||||
Action: fix the mismatch between format string and argument types.
|
Loading…
Reference in new issue