1
I Use This!
Moderate Activity

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
May 02, 2023 — May 02, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Added checker for empty if statement More... over 12 years ago
Added test case for fallthrough suppression with a non-SuppressWarnings annotation. More... over 12 years ago
Implemented empty statement check More... over 12 years ago
Pass the context to the VisitorState, and let it get access to the javac singletons itself. Also add a Scanner inner class in the FallThroughSuppressionChecker, so that it may be run more conveniently. Ultimately, I think we want each Checker to provide a scanner for itself, allowing that check to be run in isolation. Perhaps we can even build our ErrorProneScanner by composing the scanners for all the checks. More... over 12 years ago
Merge branch 'master' of https://code.google.com/p/error-prone More... over 12 years ago
Add a new error check for suppressing the fallthrough warning. This is only appropriate if you always compile your code with this warning suppressed. More... over 12 years ago
Fix compile error caused by poor type inference in Java. Update the version to 0.3-SNAPSHOT. More... over 12 years ago
Checker for statements of the form More... over 12 years ago
Merge branch 'string-format' More... over 12 years ago
Merge branch 'string-format' of https://code.google.com/p/error-prone into string-format More... over 12 years ago
Review comments from alexeagle. More... over 12 years ago
Update version to 0.2 in prep for a second release. More... over 12 years ago
Instead of printing offsets when a checker fails, print a nice snippet of the code we think was intended. More... over 12 years ago
Merge branch 'string-format' of https://code.google.com/p/error-prone into string-format More... over 12 years ago
Move Replacement from inner-class to top-level. More... over 12 years ago
Initial ErrorChecker for calls to Preconditions.check(State|Argument|NotNull) where the error message argument is a call to String.format() (with just %s as the string to call). More... over 12 years ago
Update the suggested fix for Preconditions.checkNotNull("string", thing) to swap the two arguments. More... over 12 years ago
Rewrite StaticMethodMatcher.java to use the symbol table rather than poking around in the imports. This lets us avoid visiting the import statements. More... over 12 years ago
Tests passing! Added a proper unit test for one of the matchers. More unit testing is still needed. More... over 12 years ago
Missed the corresponding test in my previous commit. More... over 12 years ago
Delete annotation processor stuff. It's hard to build cleanly without running error prone against itself at compile-time, and we don't think it's useful to run this way. More... over 12 years ago
Static factories for creating fixes, which are more self-describing. Cleanup unused matchers. More... over 12 years ago
Reorganize packages More... over 12 years ago
Refactoring based on code review with Peter. Rename the base class for matching and producing an error, and split up these two responsibilities into their own method. More... over 12 years ago
Handle the case where an if statement body has no block. More... over 12 years ago
Take care of the TODO from the previous commit: extend the Predicate DSL to support the features in the DeadExceptionMatcher. Wrangle some generic type parameters to be shinier. More... over 12 years ago
Based on some large-scale analysis, there are cases where an exception is created but it's not the last statement in a block. In this case, suggesting adding a "throw" in front is bad, since that doesn't compile. Instead, suggest removing the whole statement in this case. More... over 12 years ago
Instead of blacklisting cases which aren't a dead store, just check for an entire statement which only contains the new Exception. This may restrict the cases we can detect, but is safer and more specific. More... over 12 years ago
Fix a missing case where an exception is created and then assigned to an existing variable. More... over 12 years ago
Use the predicate DSL to express the Dead Exception match. More... over 12 years ago