Browse Source

Remove @UpdateForV9 annotation (#125024)

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

* Remove UpdateForV9 annotation in ConsumeProcessor.java
Arpad Kiraly 7 months ago
parent
commit
30dd38bc97

+ 0 - 39
libs/core/src/main/java/org/elasticsearch/core/UpdateForV9.java

@@ -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();
-}

+ 0 - 1
x-pack/plugin/esql/compute/gen/src/main/java/org/elasticsearch/compute/gen/ConsumeProcessor.java

@@ -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()
         );
     }