Skip to content

Commit

Permalink
Replace Map, List, and Set in org.opensearch.common.collect with java…
Browse files Browse the repository at this point in the history
….util references (#247)

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
  • Loading branch information
naveentatikonda committed Mar 23, 2023
1 parent e405bf4 commit e594bf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

package org.opensearch.geospatial;

import java.util.List;
import java.util.Map;
import java.util.stream.IntStream;

import org.json.JSONArray;
import org.json.JSONObject;
import org.opensearch.common.Randomness;
import org.opensearch.common.UUIDs;
import org.opensearch.common.collect.List;
import org.opensearch.common.geo.GeoShapeType;
import org.opensearch.geo.GeometryTestUtils;
import org.opensearch.geospatial.geojson.Feature;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected void registerParameters(ParameterChecker parameterChecker) throws IOEx

@Override
protected Set<String> unsupportedProperties() {
return org.opensearch.common.collect.Set.of("analyzer", "similarity");
return Set.of("analyzer", "similarity");
}

@Override
Expand Down

0 comments on commit e594bf3

Please sign in to comment.