Cleanup Duplication in PainlessScriptEngine#31991
Merged
original-brownbear merged 4 commits intoelastic:masterfrom Jul 14, 2018
original-brownbear:dry-up-painless-script-engine
Merged
Cleanup Duplication in PainlessScriptEngine#31991original-brownbear merged 4 commits intoelastic:masterfrom original-brownbear:dry-up-painless-script-engine
PainlessScriptEngine#31991original-brownbear merged 4 commits intoelastic:masterfrom
original-brownbear:dry-up-painless-script-engine
Conversation
* Extract duplicate building of compiler settings to method * Remove dead method params + dead constant in `ScriptProcessor`
Collaborator
|
Pinging @elastic/es-core-infra |
jdconrad
approved these changes
Jul 13, 2018
Contributor
jdconrad
left a comment
There was a problem hiding this comment.
LGTM. One minor comment.
| String scriptName, String source, Map<String, String> params) { | ||
| final CompilerSettings compilerSettings; | ||
|
|
||
| compilerSettings = buildCompilerSettings(params); |
Contributor
There was a problem hiding this comment.
This can be one line like in the other compile method.
Contributor
Author
There was a problem hiding this comment.
@jdconrad thanks for the review, will clean that up before merging :)
original-brownbear
added a commit
that referenced
this pull request
Jul 15, 2018
* Cleanup Duplication in `PainlessScriptEngine` * Extract duplicate building of compiler settings to method * Remove dead method params + dead constant in `ScriptProcessor`
martijnvg
added a commit
that referenced
this pull request
Jul 16, 2018
* es/master: (21 commits) Tweaked Elasticsearch Service links for SEO Watcher: Store username on watch execution (#31873) Use correct formatting for links (#29460) Painless: Separate PainlessLookup into PainlessLookup and PainlessLookupBuilder (#32054) Scripting: Remove dead code from painless module (#32064) [Rollup] Replace RollupIT with a ESRestTestCase version (#31977) [TEST] Consistent algorithm usage (#32077) [Rollup] Fix duplicate field names in test (#32075) Ensure only parent breaker trips in unit test Unmute field collapsing rest tests Fix BWC check after backport [Tests] Fix failure due to changes exception message (#32036) Remove unused params from SSource and Walker (#31935) [Test] Mute MlJobIT#testDeleteJobAfterMissingAliases Turn off real-mem breaker in REST tests Turn off real-mem breaker in single node tests Fix broken OpenLDAP Vagrant QA test Cleanup Duplication in `PainlessScriptEngine` (#31991) SCRIPTING: Remove unused MultiSearchTemplateRequestBuilder (#32049) Fix compile issues introduced by merge (#32058) ...
martijnvg
added a commit
that referenced
this pull request
Jul 16, 2018
* es/6.x: Use correct formatting for links (#29460) Revert "Adds a new auto-interval date histogram (#28993)" Revert "fix typo" fix typo Adds a new auto-interval date histogram (#28993) [Rollup] Replace RollupIT with a ESRestTestCase version (#31977) [Rollup] Fix duplicate field names in test (#32075) [Tests] Fix failure due to changes exception message (#32036) [Test] Mute MlJobIT#testDeleteJobAfterMissingAliases Replace Ingest ScriptContext with Custom Interface (#32003) (#32060) Cleanup Duplication in `PainlessScriptEngine` (#31991) (#32061) HLRC: Add xpack usage api (#31975) Clean Up Snapshot Create Rest API (#31779)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ScriptProcessor