Skip to content

Commit 2ec93bf

Browse files
committed
Fix compilation
1 parent d4507c9 commit 2ec93bf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

gitlfs-common/src/test/kotlin/ru/bozaro/gitlfs/common/data/BatchResTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class BatchResTest {
3333
Assert.assertEquals(link.href, URI("https://some-download.com"))
3434
Assert.assertEquals(
3535
link.header,
36-
ImmutableMap.builder<Any?, Any?>()
36+
ImmutableMap.builder<Any, Any>()
3737
.put("Authorization", "Basic ...")
3838
.build()
3939
)

gitlfs-common/src/test/kotlin/ru/bozaro/gitlfs/common/data/LinkTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class LinkTest {
2222
Assert.assertNotNull(link)
2323
Assert.assertEquals(link.href, URI("https://storage-server.com/OID"))
2424
Assert.assertEquals(link.header,
25-
ImmutableMap.builder<Any?, Any?>()
25+
ImmutableMap.builder<Any, Any>()
2626
.put("Authorization", "Basic ...")
2727
.build()
2828
)
@@ -35,7 +35,7 @@ class LinkTest {
3535
Assert.assertNotNull(link)
3636
Assert.assertEquals(link.href, URI("https://api.github.com/lfs/bozaro/git-lfs-java"))
3737
Assert.assertEquals(link.header,
38-
ImmutableMap.builder<Any?, Any?>()
38+
ImmutableMap.builder<Any, Any>()
3939
.put("Authorization", "RemoteAuth secret")
4040
.build()
4141
)

gitlfs-common/src/test/kotlin/ru/bozaro/gitlfs/common/data/ObjectResTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ObjectResTest {
3232
Assert.assertNotNull(link)
3333
Assert.assertEquals(link.href, URI("https://storage-server.com/OID"))
3434
Assert.assertEquals(link.header,
35-
ImmutableMap.builder<Any?, Any?>()
35+
ImmutableMap.builder<Any, Any>()
3636
.put("Authorization", "Basic ...")
3737
.build()
3838
)
@@ -49,7 +49,7 @@ class ObjectResTest {
4949
Assert.assertNotNull(link)
5050
Assert.assertEquals(link.href, URI("https://some-upload.com"))
5151
Assert.assertEquals(link.header,
52-
ImmutableMap.builder<Any?, Any?>()
52+
ImmutableMap.builder<Any, Any>()
5353
.put("Authorization", "Basic ...")
5454
.build()
5555
)

0 commit comments

Comments
 (0)