]> source.dussan.org Git - jgit.git/commit
TestRepository: Add getInstant method 21/204821/1
authorDavid Ostrovsky <david@ostrovsky.org>
Thu, 5 Oct 2023 21:04:00 +0000 (23:04 +0200)
committerDavid Ostrovsky <david@ostrovsky.org>
Thu, 5 Oct 2023 21:09:33 +0000 (23:09 +0200)
commit5138b97b604f0bb50940186ebb6c11b32ef9551b
tree4c668d805264c3c6cf60f70234b414f1a2ae0446
parentf41ef035b607e1a81c15d9ee5477d52c3f96f03b
TestRepository: Add getInstant method

Error Prone is flagging Date-API as obsolete and recommends to migrate
to Instant and LocalDate. Given that more JGit users starting to migrate
to new Time API, offer getInstant method.

Change-Id: Ie010b76d1c213cd0a645f716783ed2d57fc78071
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java