-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify blame logic and improve coverage.
Move P4JavaException to unchecked conversion to outer try block, allowing us to remove the inner try block and reduce complexity. The location of this conversion doesn't matter. Iterate file annotations only once. Add additional line annotation in test. Ensure server.getChangelist is invoked once to verify storing/retrieval from changelistMap works as intended. Add test for blame on last empty line.
- Loading branch information
1 parent
002a87b
commit bae4109
Showing
2 changed files
with
52 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters