Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e39d9a70 authored by Paul Duffin's avatar Paul Duffin Committed by Gerrit Code Review
Browse files

Merge "Remove from/to attributes from libcore.util.Nullable/NonNull" into main

parents a25530f9 d29b9cdc
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -35,14 +35,4 @@ import java.lang.annotation.Target;
@Retention(SOURCE)
@Target({FIELD, METHOD, PARAMETER, TYPE_USE})
@libcore.api.IntraCoreApi
public @interface NonNull {
   /**
    * Min Android API level (inclusive) to which this annotation is applied.
    */
   int from() default Integer.MIN_VALUE;

   /**
    * Max Android API level to which this annotation is applied.
    */
   int to() default Integer.MAX_VALUE;
}
public @interface NonNull {}
+1 −11
Original line number Diff line number Diff line
@@ -35,14 +35,4 @@ import java.lang.annotation.Target;
@Retention(SOURCE)
@Target({FIELD, METHOD, PARAMETER, TYPE_USE})
@libcore.api.IntraCoreApi
public @interface Nullable {
   /**
    * Min Android API level (inclusive) to which this annotation is applied.
    */
   int from() default Integer.MIN_VALUE;

   /**
    * Max Android API level to which this annotation is applied.
    */
   int to() default Integer.MAX_VALUE;
}
public @interface Nullable {}