Deprecate (Checked)Builder for removal 25/99325/8
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 17 Jan 2022 15:55:29 +0000 (16:55 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 17 Jan 2022 19:28:50 +0000 (20:28 +0100)
We do not have any users in yangtools and most downstreams, deprecated
these interfaces for removal.

JIRA: YANGTOOLS-1328
Change-Id: I30cb381a398eb33c2ea8d65d9a89bb279df36ca4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Builder.java
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/CheckedBuilder.java

index ad48291db05aafb3076109edff2586c87a9a545e..feec797b0711aa40a8d173e8ae9c858ad84f19f8 100644 (file)
@@ -15,7 +15,7 @@ package org.opendaylight.yangtools.concepts;
  * @deprecated This is an over-arching concept whose {@link #build()} method hides caller hierarchy. Users are advised
  *             to migrate away, either without a replacement interface, or with a proper domain-specific interface.
  */
-@Deprecated(since = "8.0.0")
+@Deprecated(since = "8.0.0", forRemoval = true)
 public interface Builder<P> extends CheckedBuilder<P, IllegalArgumentException> {
     @Override
     P build();
index ca5389b3cde882166a827f13b583166eb6837f0b..511decfdc48d4b1794d9f4f3e96631d2579ff162 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNull;
  * @deprecated This is an over-arching concept whose {@link #build()} method hides caller hierarchy. Users are advised
  *             to migrate away, either without a replacement interface, or with a proper domain-specific interface.
  */
-@Deprecated(since = "8.0.0")
+@Deprecated(since = "8.0.0", forRemoval = true)
 public interface CheckedBuilder<P, E extends Exception> extends Mutable {
     /**
      * Returns instance of the product. Multiple calls to this method are not required to return same instance if