Skip to content

Commit faf4e7a

Browse files
committed
Make banned implementation final
1 parent 67eb753 commit faf4e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/repositories/Repository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ default Repository create(
100100
class SnapshotMetricsFactory implements Factory {
101101

102102
@Override
103-
public Repository create(ProjectId projectId, RepositoryMetadata metadata) throws Exception {
103+
public final Repository create(ProjectId projectId, RepositoryMetadata metadata) throws Exception {
104104
throw new UnsupportedOperationException("This repository requires a SnapshotMetrics implementation");
105105
}
106106
}

0 commit comments

Comments
 (0)