Skip to content

Commit 88869f8

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 3fe30ec commit 88869f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/DatabaseReaderLazyLoader.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@ int current() {
108108
@Override
109109
@Nullable
110110
@FixForMultiProject // do not use ProjectId.DEFAULT
111-
public <RESPONSE extends GeoIpCache.CacheableValue> RESPONSE getResponse(String ipAddress, CheckedBiFunction<Reader, String, RESPONSE, Exception> responseProvider) {
111+
public <RESPONSE extends GeoIpCache.CacheableValue> RESPONSE getResponse(
112+
String ipAddress,
113+
CheckedBiFunction<Reader, String, RESPONSE, Exception> responseProvider
114+
) {
112115
return cache.putIfAbsent(ProjectId.DEFAULT, ipAddress, cachedDatabasePathToString, ip -> {
113116
try {
114117
return responseProvider.apply(get(), ipAddress);

0 commit comments

Comments
 (0)