Remove @UpdateForV9 annotation (#125024)

* Delete libs/core/src/main/java/org/elasticsearch/core/UpdateForV9.java

* Remove UpdateForV9 annotation in ConsumeProcessor.java
This commit is contained in:
Arpad Kiraly 2025-03-18 12:52:18 +01:00 committed by GitHub
parent ce04da7dea
commit 30dd38bc97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 40 deletions

View file

@ -1,39 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
package org.elasticsearch.core;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation to identify a block of code (a whole class, a method, or a field) that needs to be reviewed (for cleanup, remove or change)
* before releasing 9.0
*/
@Retention(RetentionPolicy.SOURCE)
@Target({ ElementType.LOCAL_VARIABLE, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.METHOD, ElementType.TYPE })
public @interface UpdateForV9 {
enum Owner {
CORE_INFRA,
DATA_MANAGEMENT,
DISTRIBUTED_INDEXING,
DOCS,
ENTERPRISE_SEARCH,
MACHINE_LEARNING,
PROFILING,
SEARCH_ANALYTICS
}
/**
* The owning team of the task to act on this annotation when the time comes.
*/
Owner owner();
}

View file

@ -42,7 +42,6 @@ public class ConsumeProcessor implements Processor {
"org.elasticsearch.xpack.esql.expression.function.MapParam",
"org.elasticsearch.rest.ServerlessScope",
"org.elasticsearch.xcontent.ParserConstructor",
"org.elasticsearch.core.UpdateForV9",
Fixed.class.getName()
);
}