From 9687670e8d299ef37ee04845e833f8c7002aae9e Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 16 Jul 2015 13:56:32 +0200 Subject: [PATCH] upgraded groovy from 2.4.0 to 2.4.4 --- core/licenses/groovy-all-2.4.0-indy.jar.sha1 | 1 - core/licenses/groovy-all-2.4.4-indy.jar.sha1 | 1 + .../search/aggregations/bucket/DoubleTermsTests.java | 2 +- pom.xml | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 core/licenses/groovy-all-2.4.0-indy.jar.sha1 create mode 100644 core/licenses/groovy-all-2.4.4-indy.jar.sha1 diff --git a/core/licenses/groovy-all-2.4.0-indy.jar.sha1 b/core/licenses/groovy-all-2.4.0-indy.jar.sha1 deleted file mode 100644 index 4eca02376e3..00000000000 --- a/core/licenses/groovy-all-2.4.0-indy.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -b8056886c1067b096c5ef05a024f1c5e9008e293 diff --git a/core/licenses/groovy-all-2.4.4-indy.jar.sha1 b/core/licenses/groovy-all-2.4.4-indy.jar.sha1 new file mode 100644 index 00000000000..458716cefdf --- /dev/null +++ b/core/licenses/groovy-all-2.4.4-indy.jar.sha1 @@ -0,0 +1 @@ +574a15e35eba5f986a0564ae197c78e843ece954 diff --git a/core/src/test/java/org/elasticsearch/search/aggregations/bucket/DoubleTermsTests.java b/core/src/test/java/org/elasticsearch/search/aggregations/bucket/DoubleTermsTests.java index daa1914fce9..c7d38ad53ed 100644 --- a/core/src/test/java/org/elasticsearch/search/aggregations/bucket/DoubleTermsTests.java +++ b/core/src/test/java/org/elasticsearch/search/aggregations/bucket/DoubleTermsTests.java @@ -535,7 +535,7 @@ public class DoubleTermsTests extends AbstractTermsTests { .addAggregation(terms("terms") .field(MULTI_VALUED_FIELD_NAME) .collectMode(randomFrom(SubAggCollectionMode.values())) - .script(new Script("(long) _value / 1000 + 1"))) + .script(new Script("(long) (_value / 1000 + 1)"))) .execute().actionGet(); assertSearchResponse(response); diff --git a/pom.xml b/pom.xml index 54b1c726618..0c9b26bee1c 100644 --- a/pom.xml +++ b/pom.xml @@ -409,7 +409,7 @@ org.codehaus.groovy groovy-all - 2.4.0 + 2.4.4 indy