From 40f89f70f65d651991c2b98b290ccd289c839048 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Wed, 15 Jan 2014 12:28:20 +0100 Subject: [PATCH] update headers --- README.md | 27 +++++++------------ .../plugin/javascript/JavaScriptPlugin.java | 14 +++++----- .../JavaScriptScriptEngineService.java | 14 +++++----- .../script/javascript/support/NativeList.java | 14 +++++----- .../script/javascript/support/NativeMap.java | 14 +++++----- .../support/ScriptValueConverter.java | 14 +++++----- .../support/ScriptableLinkedHashMap.java | 14 +++++----- .../javascript/support/ScriptableMap.java | 16 +++++------ .../support/ScriptableWrappedMap.java | 14 +++++----- .../JavaScriptScriptEngineTests.java | 14 +++++----- .../JavaScriptScriptMultiThreadedTest.java | 14 +++++----- .../JavaScriptScriptSearchTests.java | 14 +++++----- .../script/javascript/SimpleBench.java | 14 +++++----- 13 files changed, 95 insertions(+), 102 deletions(-) diff --git a/README.md b/README.md index e90f9cb8781..92cff3e541c 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,25 @@ -JavaScript lang Plugin for ElasticSearch +JavaScript lang Plugin for Elasticsearch ================================== The JavaScript language plugin allows to have `javascript` as the language of scripts to execute. In order to install the plugin, simply run: `bin/plugin -install elasticsearch/elasticsearch-lang-javascript/1.4.0`. - ----------------------------------------------- - | JavaScript Plugin | ElasticSearch | - ----------------------------------------------- - | 1.5.0-SNAPSHOT (master) | 0.90 -> master | - ----------------------------------------------- - | 1.4.0 | 0.90 -> master | - ----------------------------------------------- - | 1.3.0 | 0.90 | - ----------------------------------------------- - | 1.2.0 | 0.19 -> 0.20 | - ----------------------------------------------- - | 1.1.0 | 0.19 | - ----------------------------------------------- - | 1.0.0 | 0.18 | - ----------------------------------------------- +| JavaScript Lang Plugin | elasticsearch | rhino | Release date | +|-----------------------------|---------------------|----------|:------------:| +| 1.5.0-SNAPSHOT (master) | 0.90 | 1.7R4 | | +| 1.4.0 | 0.90 | 1.7R4 | 2013-06-05 | +| 1.3.0 | 0.90 | 1.7R4 | 2013-02-26 | +| 1.2.0 | 0.19 -> 0.20 | 1.7R4 | 2012-06-23 | +| 1.1.0 | 0.19 | 1.7R3 | 2012-02-07 | +| 1.0.0 | 0.18 | 1.7R3 | 2011-12-05 | License ------- This software is licensed under the Apache 2 license, quoted below. - Copyright 2009-2013 Shay Banon and ElasticSearch + Copyright 2009-2014 Elasticsearch Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of diff --git a/src/main/java/org/elasticsearch/plugin/javascript/JavaScriptPlugin.java b/src/main/java/org/elasticsearch/plugin/javascript/JavaScriptPlugin.java index e2645251164..0b4ffd7fae5 100644 --- a/src/main/java/org/elasticsearch/plugin/javascript/JavaScriptPlugin.java +++ b/src/main/java/org/elasticsearch/plugin/javascript/JavaScriptPlugin.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/main/java/org/elasticsearch/script/javascript/JavaScriptScriptEngineService.java b/src/main/java/org/elasticsearch/script/javascript/JavaScriptScriptEngineService.java index 419a588d703..eacc8f5f7cb 100644 --- a/src/main/java/org/elasticsearch/script/javascript/JavaScriptScriptEngineService.java +++ b/src/main/java/org/elasticsearch/script/javascript/JavaScriptScriptEngineService.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/main/java/org/elasticsearch/script/javascript/support/NativeList.java b/src/main/java/org/elasticsearch/script/javascript/support/NativeList.java index c2345dc2bfc..bd1124fa4ba 100644 --- a/src/main/java/org/elasticsearch/script/javascript/support/NativeList.java +++ b/src/main/java/org/elasticsearch/script/javascript/support/NativeList.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/main/java/org/elasticsearch/script/javascript/support/NativeMap.java b/src/main/java/org/elasticsearch/script/javascript/support/NativeMap.java index f36ce23a8b3..efdbac86a04 100644 --- a/src/main/java/org/elasticsearch/script/javascript/support/NativeMap.java +++ b/src/main/java/org/elasticsearch/script/javascript/support/NativeMap.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/main/java/org/elasticsearch/script/javascript/support/ScriptValueConverter.java b/src/main/java/org/elasticsearch/script/javascript/support/ScriptValueConverter.java index e7bedb40487..726d25d616f 100644 --- a/src/main/java/org/elasticsearch/script/javascript/support/ScriptValueConverter.java +++ b/src/main/java/org/elasticsearch/script/javascript/support/ScriptValueConverter.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/main/java/org/elasticsearch/script/javascript/support/ScriptableLinkedHashMap.java b/src/main/java/org/elasticsearch/script/javascript/support/ScriptableLinkedHashMap.java index 88d34d7251e..680b20a0256 100644 --- a/src/main/java/org/elasticsearch/script/javascript/support/ScriptableLinkedHashMap.java +++ b/src/main/java/org/elasticsearch/script/javascript/support/ScriptableLinkedHashMap.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/main/java/org/elasticsearch/script/javascript/support/ScriptableMap.java b/src/main/java/org/elasticsearch/script/javascript/support/ScriptableMap.java index a7319c26027..ed910c5afca 100644 --- a/src/main/java/org/elasticsearch/script/javascript/support/ScriptableMap.java +++ b/src/main/java/org/elasticsearch/script/javascript/support/ScriptableMap.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * @@ -29,4 +29,4 @@ import java.util.Map; * */ public interface ScriptableMap extends Scriptable, Map { -} \ No newline at end of file +} diff --git a/src/main/java/org/elasticsearch/script/javascript/support/ScriptableWrappedMap.java b/src/main/java/org/elasticsearch/script/javascript/support/ScriptableWrappedMap.java index e78a92464df..a7c2f4f5428 100644 --- a/src/main/java/org/elasticsearch/script/javascript/support/ScriptableWrappedMap.java +++ b/src/main/java/org/elasticsearch/script/javascript/support/ScriptableWrappedMap.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptEngineTests.java b/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptEngineTests.java index fe59d4aac57..bd78b0ded4e 100644 --- a/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptEngineTests.java +++ b/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptEngineTests.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptMultiThreadedTest.java b/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptMultiThreadedTest.java index 9cbdc2cc782..14d635dd859 100644 --- a/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptMultiThreadedTest.java +++ b/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptMultiThreadedTest.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptSearchTests.java b/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptSearchTests.java index 78d939627c2..18091f98841 100644 --- a/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptSearchTests.java +++ b/src/test/java/org/elasticsearch/script/javascript/JavaScriptScriptSearchTests.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/src/test/java/org/elasticsearch/script/javascript/SimpleBench.java b/src/test/java/org/elasticsearch/script/javascript/SimpleBench.java index fdaa6554613..49f8e401074 100644 --- a/src/test/java/org/elasticsearch/script/javascript/SimpleBench.java +++ b/src/test/java/org/elasticsearch/script/javascript/SimpleBench.java @@ -1,11 +1,11 @@ /* - * Licensed to ElasticSearch and Shay Banon under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. ElasticSearch licenses this - * file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *