]> source.dussan.org Git - jgit.git/commit
RawParseUtils test: Use java.time to create PersonIdents 78/1204278/1
authorIvan Frade <ifrade@google.com>
Fri, 15 Nov 2024 21:14:47 +0000 (13:14 -0800)
committerIvan Frade <ifrade@google.com>
Tue, 19 Nov 2024 19:37:29 +0000 (11:37 -0800)
commitdf9cf94b3e4811b579d404e0e58d005cc18df998
tree1db447a7d0f9732e47fe7f83fd99a0631aa8dc9c
parent336ab76c7ffecbb9b5cae61a62b3954e6cc32651
RawParseUtils test: Use java.time to create PersonIdents

The constructor with long/int for time/tz is deprecated in favor of
Instant/ZoneId.

Update first the expectations in the tests to the new constructors, so
we know we are creating the same PersonIdents than before. We update
the code later, knowing there is no regression in e.g. format or
precision.

Change-Id: I05c759bdd4cf73b8afe79fae3c792f2f1300d1e6
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/RawParseUtils_ParsePersonIdentTest.java