Skip to content

Commit f55689d

Browse files
committed
Initial review changes
1 parent 31a08d7 commit f55689d

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

modules/lang-painless/src/main/resources/org/elasticsearch/painless/org.elasticsearch.script.processor_conditional.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ class org.elasticsearch.script.IngestConditionalScript {
1414
}
1515

1616
class org.elasticsearch.script.field.SourceMapField {
17-
String getName()
1817
boolean exists()
19-
boolean isEmpty()
20-
int size()
2118
Iterator iterator()
2219
def get(def)
2320
def get(int, def)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
import org.elasticsearch.common.logging.DeprecationCategory;
1313
import org.elasticsearch.common.logging.DeprecationLogger;
14+
import org.elasticsearch.script.CtxMap;
1415
import org.elasticsearch.script.CtxMapWrapper;
1516
import org.elasticsearch.script.DynamicMap;
1617
import org.elasticsearch.script.IngestConditionalScript;

server/src/main/java/org/elasticsearch/script/CtxMapWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* The wrapped {@link CtxMap} should be cleared after use to avoid leaks.
1616
*/
1717
public class CtxMapWrapper {
18-
private volatile CtxMap<?> ctxMap;
18+
private CtxMap<?> ctxMap;
1919

2020
public CtxMap<?> getCtxMap() {
2121
if (ctxMap == null) {

0 commit comments

Comments
 (0)