Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored and slachiewicz committed Aug 20, 2023
1 parent 16ea6e1 commit 05aa0e3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ public DiffScmResult callDiff(Git git, ScmVersion startRevision, ScmVersion endR
throws IOException, GitAPIException, ScmException {

AbstractTreeIterator oldTree = null;
if (startRevision != null
&& !startRevision.getName().trim().isEmpty()) {
if (startRevision != null && !startRevision.getName().trim().isEmpty()) {
String startRev = startRevision.getName().trim();
oldTree = getTreeIterator(git.getRepository(), startRev);
}
Expand Down

0 comments on commit 05aa0e3

Please sign in to comment.