Check for multiple javadocs in java headers (#79603)

We also now enforce to have the license statement on the very top of the java file before 
the package declaration

Fixes #79235
This commit is contained in:
Rene Groeschke 2021-10-29 08:32:11 +02:00 committed by GitHub
parent 4f3f669a58
commit 92e8ba2e74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
82 changed files with 247 additions and 340 deletions

View file

@ -1,5 +1,3 @@
package org.elasticsearch.script.expression;
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
@ -7,6 +5,7 @@ package org.elasticsearch.script.expression;
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
package org.elasticsearch.script.expression;
import org.apache.lucene.search.DoubleValuesSource;
import org.elasticsearch.index.fielddata.IndexFieldData;

View file

@ -1,5 +1,3 @@
package org.elasticsearch.script.expression;
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
@ -8,6 +6,8 @@ package org.elasticsearch.script.expression;
* Side Public License, v 1.
*/
package org.elasticsearch.script.expression;
import org.apache.lucene.search.DoubleValuesSource;
import org.elasticsearch.common.time.DateFormatters;
import org.elasticsearch.index.fielddata.IndexFieldData;

View file

@ -1,5 +1,3 @@
package org.elasticsearch.script.expression;
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
@ -8,6 +6,8 @@ package org.elasticsearch.script.expression;
* Side Public License, v 1.
*/
package org.elasticsearch.script.expression;
import org.apache.lucene.search.DoubleValuesSource;
import org.elasticsearch.index.fielddata.IndexFieldData;

View file

@ -1,5 +1,3 @@
package org.elasticsearch.script.expression;
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
@ -8,6 +6,8 @@ package org.elasticsearch.script.expression;
* Side Public License, v 1.
*/
package org.elasticsearch.script.expression;
import org.apache.lucene.search.DoubleValuesSource;
import org.elasticsearch.index.fielddata.IndexFieldData;
import org.elasticsearch.search.MultiValueMode;