Skip to content

Commit

Permalink
jdk17 compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChGen committed Mar 29, 2024
1 parent d1defee commit 89dd597
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void readContentLengthMax() throws Exception {
void remotesPriority() throws Exception {
List<RemoteConfig> remotes = readFull().remotes();
Assertions.assertEquals(4, remotes.size());
Assertions.assertEquals(new RemoteConfig(URI.create("host4.com"), 200, null, null), remotes.getFirst());
Assertions.assertEquals(new RemoteConfig(URI.create("host4.com"), 200, null, null), remotes.get(0));
Assertions.assertEquals(new RemoteConfig(URI.create("host1.com"), 100, null, null), remotes.get(1));
Assertions.assertEquals(new RemoteConfig(URI.create("host2.com"), 0, "test_user", "12345"), remotes.get(2));
Assertions.assertEquals(new RemoteConfig(URI.create("host3.com"), -10, null, null), remotes.get(3));
Expand Down

0 comments on commit 89dd597

Please sign in to comment.