Commit 5e17f00
committed
Tweak toXContent implementation of ParametrizedFieldMapper (#59968)
ParametrizedFieldMapper overrides `toXContent` from `FieldMapper`, yet it could override `doXContentBody` and rely on the `toXContent` from the base class. Additionally, this allows to make `doXContentBody` final. Also, toXContent is still overridden only to make it final.1 parent 19fe3e5 commit 5e17f00
File tree
1 file changed
+5
-3
lines changed- server/src/main/java/org/elasticsearch/index/mapper
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | | - | |
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
118 | | - | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| |||
0 commit comments