Skip to content

Commit

Permalink
keep java 11 compatible version
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasFey-GIP committed Dec 17, 2024
1 parent e270471 commit 919d663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public List<Commit> listCommits(String repository, String branch, int length) th
Commit.Builder builder = new Commit.Builder();
builder.authorEmail(commit.getAuthorIdent().getEmailAddress());
builder.authorName(commit.getAuthorIdent().getName());
builder.commitTime(commit.getAuthorIdent().getWhen().toInstant().toEpochMilli());
builder.commitTime(commit.getAuthorIdent().getWhenAsInstant().toEpochMilli());
builder.comment(commit.getFullMessage());
builder.commitHash(commit.toObjectId().getName());
result.add(builder.instance());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit.ssh.apache</artifactId>
<version>7.1.0.202411261347-r</version>
<version>6.10.0.202406032230-r</version>
</dependency>
</dependencies>
</project>

0 comments on commit 919d663

Please sign in to comment.