Skip to content

Commit 5f3da72

Browse files
committed
restricted the construction of object using constructor
changed the access modifier of the GeolocationParam constructor to private, so that user cannot create an object of the class using constructor
1 parent 1693169 commit 5f3da72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/ipgeolocation/api/GeolocationParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class GeolocationParams {
5050
* @param includeSecurity Whether to include security information in the response.
5151
* @param includeUserAgentDetail Whether to include user agent detail in the response.
5252
* */
53-
public GeolocationParams(
53+
private GeolocationParams(
5454
String ipAddress,
5555
String lang,
5656
String fields,

0 commit comments

Comments
 (0)