cushon / issues-import

0 stars 0 forks source link

Detect misuses of MessageFormat (esp. malformed format string) #231

Closed cushon closed 9 years ago

cushon commented 9 years ago

Original issue created by rburny@google.com on 2014-02-08 at 01:35 AM


Similarly to MalformedFormatString, we could write a checker to detect misuses of MessageFormat (and other classes - loggers in particular - that use its format). After those two checks are in place, they should naturally cover all situations when someone mixed up printf and MessageFormat (whichever way).

cushon commented 9 years ago

Original comment posted by rburny@google.com on 2014-02-08 at 01:36 AM


It should say MessageFormat in issue title, sorry.

cushon commented 9 years ago

Original comment posted by eaftan@google.com on 2014-03-04 at 12:42 AM


Probably lower priority than MalformedFormatString. Labeling as a possible 20% project.


Status: Accepted Labels: Twenty-percent

cushon commented 9 years ago

Original comment posted by eaftan@google.com on 2014-03-04 at 12:43 AM


(No comment entered for this change.)

cushon commented 9 years ago

Original comment posted by eaftan@google.com on 2014-04-07 at 10:40 PM


vidarh contributed a MisusedFormattingLogger check for this.


Status: Fixed Owner: holen@google.com