Skip to content

Commit 9ad964b

Browse files
cortinicofacebook-github-bot
authored andcommitted
Remove unused @KeepGettersAndSetters annotation (#50565)
Summary: Pull Request resolved: #50565 This annotation is unused. It was referenced in the past with Buck1 OSS but now we can safely remove it. Changelog: [Internal] [Changed] - Reviewed By: fabriziocucci Differential Revision: D72645219 fbshipit-source-id: 0327fa562276193ad9f48dc81ea7a9fa0da19eee
1 parent 6fc52b6 commit 9ad964b

File tree

3 files changed

+0
-51
lines changed

3 files changed

+0
-51
lines changed

packages/react-native/ReactAndroid/proguard-rules.pro

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
# Keep our interfaces so they can be used by other ProGuard rules.
2424
# See http://sourceforge.net/p/proguard/bugs/466/
2525
-keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
26-
-keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
2726

2827
# Do not strip any method/class that is annotated with @DoNotStrip
2928
-keep @com.facebook.proguard.annotations.DoNotStrip class *
@@ -41,11 +40,6 @@
4140
*;
4241
}
4342

44-
-keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
45-
void set*(***);
46-
*** get*();
47-
}
48-
4943
-keep class * implements com.facebook.react.bridge.JavaScriptModule { *; }
5044
-keep class * implements com.facebook.react.bridge.NativeModule { *; }
5145
-keepclassmembers,includedescriptorclasses class * { native <methods>; }

packages/react-native/ReactAndroid/src/main/java/com/facebook/proguard/annotations/KeepGettersAndSetters.kt

Lines changed: 0 additions & 24 deletions
This file was deleted.

packages/react-native/ReactAndroid/src/main/java/com/facebook/proguard/annotations/proguard_annotations.pro

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)