Skip to content

Commit 33fa9b0

Browse files
committed
package private
Signed-off-by: Karen X <[email protected]>
1 parent 4c4cb9e commit 33fa9b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/transport-grpc/src/main/java/org/opensearch/transport/grpc/proto/request/search/query/GeoBoundingBoxQueryBuilderProtoUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* into their corresponding OpenSearch GeoBoundingBoxQueryBuilder implementations for search operations.
3434
*
3535
*/
36-
public class GeoBoundingBoxQueryBuilderProtoUtils {
36+
class GeoBoundingBoxQueryBuilderProtoUtils {
3737

3838
private static final Logger logger = LogManager.getLogger(GeoBoundingBoxQueryBuilderProtoUtils.class);
3939

@@ -50,7 +50,7 @@ private GeoBoundingBoxQueryBuilderProtoUtils() {
5050
* @param geoBoundingBoxQueryProto The Protocol Buffer GeoBoundingBoxQuery to convert
5151
* @return A configured GeoBoundingBoxQueryBuilder instance
5252
*/
53-
public static GeoBoundingBoxQueryBuilder fromProto(GeoBoundingBoxQuery geoBoundingBoxQueryProto) {
53+
static GeoBoundingBoxQueryBuilder fromProto(GeoBoundingBoxQuery geoBoundingBoxQueryProto) {
5454
if (geoBoundingBoxQueryProto == null) {
5555
throw new IllegalArgumentException("GeoBoundingBoxQuery cannot be null");
5656
}

modules/transport-grpc/src/main/java/org/opensearch/transport/grpc/proto/request/search/query/GeoDistanceQueryBuilderProtoUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* This class provides methods to transform Protocol Buffer representations of geo distance queries
2525
* into their corresponding OpenSearch GeoDistanceQueryBuilder implementations for search operations.
2626
*/
27-
public class GeoDistanceQueryBuilderProtoUtils {
27+
class GeoDistanceQueryBuilderProtoUtils {
2828

2929
private GeoDistanceQueryBuilderProtoUtils() {
3030
// Utility class, no instances
@@ -39,7 +39,7 @@ private GeoDistanceQueryBuilderProtoUtils() {
3939
* @param geoDistanceQueryProto The Protocol Buffer GeoDistanceQuery to convert
4040
* @return A configured GeoDistanceQueryBuilder instance
4141
*/
42-
public static GeoDistanceQueryBuilder fromProto(GeoDistanceQuery geoDistanceQueryProto) {
42+
static GeoDistanceQueryBuilder fromProto(GeoDistanceQuery geoDistanceQueryProto) {
4343
float boost = AbstractQueryBuilder.DEFAULT_BOOST;
4444
String queryName = null;
4545
GeoPoint point = new GeoPoint(Double.NaN, Double.NaN);

0 commit comments

Comments
 (0)