diff options
author | Tor Norbye <tnorbye@google.com> | 2012-02-07 15:04:47 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-02-07 16:09:45 -0800 |
commit | b115c0c78a04165fd5a849da0ac73c45bd8ef7b7 (patch) | |
tree | 83a9063d8e6d37188d03df2a7d717eca2329a8b0 /assetstudio/tests | |
parent | 7b040268c0e60c41a40922fc5d791d2e60309ad2 (diff) | |
download | sdk-b115c0c78a04165fd5a849da0ac73c45bd8ef7b7.zip sdk-b115c0c78a04165fd5a849da0ac73c45bd8ef7b7.tar.gz sdk-b115c0c78a04165fd5a849da0ac73c45bd8ef7b7.tar.bz2 |
Make the lint string-format check ignore date strings
The string format lint check might be processing strings not intended
for String.format (but intended for example for
android.text.format.Time#format), in which case it will be wrong about
whether two conversions are incompatible. (This does not fix all
scenarios; if a date string looks like a String.format in the sense
that all of its formatting characters are defined by String.format
then the string will assume to be intended for String.format.)
This changeset attempts to recognize this, and also make the "is
incompatible" check a bit more nuanced: it will now consider "d"
compatible with "x" for example.
Change-Id: I63ce082f40169e4033809d25cae3cf116c9e2044
Diffstat (limited to 'assetstudio/tests')
0 files changed, 0 insertions, 0 deletions