Skip to content

Commit f18ea3a

Browse files
committed
These classes can be final
1 parent fe05c56 commit f18ea3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/ingest/IngestCtxMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* The map is expected to be used by processors, server code should the typed getter and setters where possible.
3131
*/
32-
class IngestCtxMap extends CtxMap<IngestDocMetadata> {
32+
final class IngestCtxMap extends CtxMap<IngestDocMetadata> {
3333

3434
/**
3535
* Create an IngestCtxMap with the given metadata, source and default validators

server/src/main/java/org/elasticsearch/ingest/IngestDocMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import java.util.Map;
2020
import java.util.stream.Collectors;
2121

22-
class IngestDocMetadata extends Metadata {
22+
final class IngestDocMetadata extends Metadata {
2323

2424
static final Map<String, FieldProperty<?>> PROPERTIES = Map.of(
2525
INDEX,

0 commit comments

Comments
 (0)