File tree Expand file tree Collapse file tree
src/main/java/com/gojek/feast/v1alpha1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 <version >${junit.version} </version >
6262 <scope >test</scope >
6363 </dependency >
64+ <dependency >
65+ <groupId >org.apache.commons</groupId >
66+ <artifactId >commons-lang3</artifactId >
67+ <version >3.6</version >
68+ <scope >compile</scope >
69+ </dependency >
6470
6571 </dependencies >
6672
Original file line number Diff line number Diff line change 66import java .util .List ;
77import java .util .Map ;
88import java .util .stream .Collectors ;
9- import javafx .util .Pair ;
9+ import org .apache .commons .lang3 .tuple .ImmutablePair ;
10+ import org .apache .commons .lang3 .tuple .Pair ;
1011
1112@ SuppressWarnings ("WeakerAccess" )
1213public class RequestUtil {
@@ -37,7 +38,7 @@ public static List<FeatureSet> createFeatureSets(List<String> featureIds) {
3738 parts [1 ]));
3839 }
3940
40- Pair <String , Integer > key = new Pair <>(featureSetName , featureSetVersion );
41+ Pair <String , Integer > key = new ImmutablePair <>(featureSetName , featureSetVersion );
4142 if (!featureSetMap .containsKey (key )) {
4243 featureSetMap .put (key , new ArrayList <>());
4344 }
You can’t perform that action at this time.
0 commit comments