diff options
author | Tor Norbye <tnorbye@google.com> | 2012-01-26 15:04:57 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-01-26 15:14:37 -0800 |
commit | a2a7d644db6b742fda413600f62c64c1133a6c21 (patch) | |
tree | 5ffb4a48c46c6507670a151875927201ec93b01c /find_java/find_java_lib.cpp | |
parent | 73926b1e6312781da56f29954b95e1791f4e1ee9 (diff) | |
download | sdk-a2a7d644db6b742fda413600f62c64c1133a6c21.zip sdk-a2a7d644db6b742fda413600f62c64c1133a6c21.tar.gz sdk-a2a7d644db6b742fda413600f62c64c1133a6c21.tar.bz2 |
Fix a few misc Lint issues
First, stop reporting Java-related parser errors as lint
errors. Lombok fails to parse a few files (see
http://code.google.com/p/projectlombok/issues/detail?id=311) and even
when it fails, the error messages aren't useful (see
http://code.google.com/p/projectlombok/issues/detail?id=313).
Second, the XML parser could throw an exception in some circumstances,
because it passes invalid column numbers at the end of the file. This
CL guards against that (and against any other potential errors by
wrapping all exceptions during parsing as a SAXEception).
Finally, fix the positions reported in text nodes for the ExtraText
check such that it points to the line containing the extra text, not
the beginning of the text node (which is frequently the previous
line).
Change-Id: I9630ea49d30d8afdc8bd9cf2c87ca0a0306b8ec5
Diffstat (limited to 'find_java/find_java_lib.cpp')
0 files changed, 0 insertions, 0 deletions