2 lines
577 B
Plaintext
2 lines
577 B
Plaintext
Because ``++printf++``-style format strings are interpreted at runtime, rather than validated by the compiler, they can contain errors that lead to unexpected behavior. This rule statically validates the correlation of ``++printf++``-style format strings to their arguments when calling the ``++format(...)++`` methods of ``++java.util.Formatter++``, ``++java.lang.String++``, ``++java.io.PrintStream++``, ``++MessageFormat++``, and ``++java.io.PrintWriter++`` classes and the ``++printf(...)++`` methods of ``++java.io.PrintStream++`` or ``++java.io.PrintWriter++`` classes.
|