Skip to content

Commit

Permalink
Chore: add missing @OverRide annotation (#1459)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbmalkovsky authored Nov 27, 2024
1 parent 402cd95 commit 3a663d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public GeoIpLookupService(GeoIpInfoSettings geoIpInfoSettings) {
this.settings = geoIpInfoSettings;
}

@Override
public GeoIpLookup retrieveIpInfo() {
GeoIpLookupRemoteService httpClient = super.buildHttlClient(this.settings.retrieveBaseUrl(this.getServiceName()), GeoIpLookupRemoteService.class,
GeoIpLookupService.class);
Expand All @@ -50,6 +51,7 @@ public GeoIpLookup retrieveIpInfo() {
return result;
}

@Override
public String getServiceName() {
return SERVICE_NAME;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public IpApiService(GeoIpInfoSettings geoIpInfoSettings) {
this.settings = geoIpInfoSettings;
}

@Override
public IpApi retrieveIpInfo() {
IpApiRemoteservice httpClient = buildHttlClient(this.settings.retrieveBaseUrl(this.getServiceName()), IpApiRemoteservice.class, IpApiService.class);
LOGGER.debug("IpApi request start");
Expand All @@ -49,6 +50,7 @@ public IpApi retrieveIpInfo() {
return result;
}

@Override
public String getServiceName() {
return SERVICE_NAME;
}
Expand Down

0 comments on commit 3a663d1

Please sign in to comment.