Skip to content

Commit 2e0c16a

Browse files
committed
Target Java 8 compatibility for Java SDK
1 parent 7b1e820 commit 2e0c16a

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

sdk/java/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,6 @@
8585

8686
<build>
8787
<plugins>
88-
<plugin>
89-
<groupId>org.apache.maven.plugins</groupId>
90-
<artifactId>maven-compiler-plugin</artifactId>
91-
<configuration>
92-
<release>11</release>
93-
</configuration>
94-
</plugin>
95-
9688
<!-- Javadoc -->
9789
<plugin>
9890
<groupId>org.apache.maven.plugins</groupId>

sdk/java/src/test/java/com/gojek/feast/RequestUtilTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import static org.junit.jupiter.api.Assertions.assertEquals;
2020
import static org.junit.jupiter.api.Assertions.assertThrows;
2121

22+
import com.google.common.collect.ImmutableList;
2223
import com.google.protobuf.TextFormat;
2324
import feast.proto.serving.ServingAPIProto.FeatureReference;
2425
import java.util.Arrays;
@@ -82,7 +83,7 @@ void renderFeatureRef_ShouldReturnFeatureRefString(
8283
}
8384

8485
private static Stream<Arguments> provideInvalidFeatureRefs() {
85-
return Stream.of(Arguments.of(List.of("project/feature", "")));
86+
return Stream.of(Arguments.of(ImmutableList.of("project/feature", "")));
8687
}
8788

8889
@ParameterizedTest

0 commit comments

Comments
 (0)