Skip to content

Commit

Permalink
Implement new method scriptRemoved(CompiledScript) in `ScriptEngine…
Browse files Browse the repository at this point in the history
…Service`

This [PR](elastic/elasticsearch#8062) broke ScriptEngineService by adding a new method `scriptRemoved(CompiledScript)`.

Closes #29.

(cherry picked from commit 1fd05bc)
  • Loading branch information
dadoonet committed Oct 15, 2014
1 parent b53e570 commit f31dc29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</parent>

<properties>
<elasticsearch.version>1.3.0</elasticsearch.version>
<elasticsearch.version>1.3.5-SNAPSHOT</elasticsearch.version>
<lucene.version>4.9.0</lucene.version>
<tests.jvms>1</tests.jvms>
<tests.shuffle>true</tests.shuffle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.elasticsearch.common.component.AbstractComponent;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.script.CompiledScript;
import org.elasticsearch.script.ExecutableScript;
import org.elasticsearch.script.ScriptEngineService;
import org.elasticsearch.script.SearchScript;
Expand Down Expand Up @@ -71,6 +72,11 @@ public void close() {

}

@Override
public void scriptRemoved(@Nullable CompiledScript compiledScript) {
// Nothing to do here
}

@Override
public String[] types() {
return new String[]{"js", "javascript"};
Expand Down

0 comments on commit f31dc29

Please sign in to comment.