Skip to content

Commit

Permalink
Test changing ReactModule annotation retention to source
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed May 29, 2020
1 parent af73896 commit ecbd01f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
package com.facebook.react.module.annotations;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.RetentionPolicy.SOURCE;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;
Expand All @@ -17,7 +17,7 @@
* Annotation for use on {@link com.facebook.react.bridge.BaseJavaModule}s to describe properties
* for that module.
*/
@Retention(RUNTIME)
@Retention(SOURCE)
@Target(TYPE)
public @interface ReactModule {
/** Name used to {@code require()} this module from JavaScript. */
Expand Down

0 comments on commit ecbd01f

Please sign in to comment.