Skip to content

Commit

Permalink
[java] Stop using features introduced in Java 9+
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Nov 14, 2019
1 parent a65b9dd commit 4bca8a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package org.openqa.selenium.tools;

import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableList;
import com.google.common.hash.HashCode;
import com.google.common.hash.Hashing;
import com.google.common.io.ByteStreams;
Expand Down Expand Up @@ -204,7 +205,7 @@ private static byte[] sign(Credentials credentials, String fileName, byte[] data
Path dir = Files.createTempDirectory("maven-sign");
Path file = dir.resolve(fileName + ".asc");

List<String> args = List.of(
List<String> args = ImmutableList.of(
"gpg", "-ab", "--batch",
"-o", file.toAbsolutePath().toString());

Expand Down

0 comments on commit 4bca8a8

Please sign in to comment.