-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible NPE while traversing
RevWalk
s
This fixes a problem where describing commits would find old information from a previous walk that could lead to an NPE inside JGit. This effectively reverts 657cf3d by reintroducing try-with-resources for `RevWalk` instances. Instead of using a field inside the mojo, there are now only local instances where try-with-resources makes sense.
- Loading branch information
Showing
2 changed files
with
38 additions
and
65 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