diff --git a/elasticsearch/license/base/src/main/java/org/elasticsearch/license/core/OperationModeFileWatcher.java b/elasticsearch/license/base/src/main/java/org/elasticsearch/license/core/OperationModeFileWatcher.java index 3ba63e3cdd3..da3c080d987 100644 --- a/elasticsearch/license/base/src/main/java/org/elasticsearch/license/core/OperationModeFileWatcher.java +++ b/elasticsearch/license/base/src/main/java/org/elasticsearch/license/core/OperationModeFileWatcher.java @@ -26,7 +26,7 @@ import java.util.concurrent.atomic.AtomicBoolean; * In case of failure to read a valid operation mode from licenseModePath, * the operation mode will default to PLATINUM */ -public final class OperationModeFileWatcher extends FileChangesListener { +public final class OperationModeFileWatcher implements FileChangesListener { private final ResourceWatcherService resourceWatcherService; private final Path licenseModePath; private final AtomicBoolean initialized = new AtomicBoolean(); diff --git a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStore.java b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStore.java index 8190ac0e692..8adb8107c2a 100644 --- a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStore.java +++ b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStore.java @@ -185,7 +185,7 @@ public class FileUserPasswdStore { } } - private class FileListener extends FileChangesListener { + private class FileListener implements FileChangesListener { @Override public void onFileCreated(Path file) { onFileChanged(file); diff --git a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStore.java b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStore.java index aa03091112b..4f951992e76 100644 --- a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStore.java +++ b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStore.java @@ -217,7 +217,7 @@ public class FileUserRolesStore { } } - private class FileListener extends FileChangesListener { + private class FileListener implements FileChangesListener { @Override public void onFileCreated(Path file) { onFileChanged(file); diff --git a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapper.java b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapper.java index cb15f785ab4..9da361aaff1 100644 --- a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapper.java +++ b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapper.java @@ -184,7 +184,7 @@ public class DnRoleMapper { } } - private class FileListener extends FileChangesListener { + private class FileListener implements FileChangesListener { @Override public void onFileCreated(Path file) { onFileChanged(file); diff --git a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java index edb3f02c517..cc9b2cc0323 100644 --- a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java +++ b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java @@ -287,7 +287,7 @@ public class FileRolesStore extends AbstractLifecycleComponent implements RolesS return segments; } - private class FileListener extends FileChangesListener { + private class FileListener implements FileChangesListener { @Override public void onFileCreated(Path file) { diff --git a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/ssl/TrustConfig.java b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/ssl/TrustConfig.java index ec580993a32..6c67d6f6309 100644 --- a/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/ssl/TrustConfig.java +++ b/elasticsearch/x-pack/security/src/main/java/org/elasticsearch/xpack/security/ssl/TrustConfig.java @@ -264,7 +264,7 @@ abstract class TrustConfig { } } - protected static class ChangeListener extends FileChangesListener { + protected static class ChangeListener implements FileChangesListener { private final List paths; private final Reloadable reloadable;