commit | b12a5138665cffe63bf1251e3edb4e5eca2c4409 | [log] [tgz] |
---|---|---|
author | Tor Norbye <tnorbye@google.com> | Tue Jan 15 11:56:36 2013 -0800 |
committer | Tor Norbye <tnorbye@google.com> | Tue Jan 22 09:54:43 2013 -0800 |
tree | 51a0fa1831061eacc1460963705abf18067f07c9 | |
parent | 8856a5c1a60a5c904dc06df920de5729e6bfd620 [diff] |
Fix other file visitor to handle incremental analysis properly The other file visitor would unconditionally scan the full project contents for each scope, even when project.getSubset() (used for incremental analysis in IDEs) was non null. Also avoid NPE when lint is scanning a java file without a package declaration. Change-Id: I74e813b41c2e32acac879b277dc974619156adbd