From 3a663d19e5bcff3653ce1a8bc4cff9db78b347ed Mon Sep 17 00:00:00 2001 From: David B Malkovsky Date: Wed, 27 Nov 2024 02:32:25 -0500 Subject: [PATCH] Chore: add missing @Override annotation (#1459) --- .../collectors/remote/geoiplookup/GeoIpLookupService.java | 2 ++ .../envdatacollector/collectors/remote/ipapi/IpApiService.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/geoiplookup/GeoIpLookupService.java b/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/geoiplookup/GeoIpLookupService.java index f10259197..9d2027c48 100644 --- a/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/geoiplookup/GeoIpLookupService.java +++ b/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/geoiplookup/GeoIpLookupService.java @@ -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); @@ -50,6 +51,7 @@ public GeoIpLookup retrieveIpInfo() { return result; } + @Override public String getServiceName() { return SERVICE_NAME; } diff --git a/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/ipapi/IpApiService.java b/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/ipapi/IpApiService.java index c5e0952c0..104a2b472 100644 --- a/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/ipapi/IpApiService.java +++ b/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/ipapi/IpApiService.java @@ -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"); @@ -49,6 +50,7 @@ public IpApi retrieveIpInfo() { return result; } + @Override public String getServiceName() { return SERVICE_NAME; }