mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-28 08:07:25 +08:00
Remove @CountEnum from OSS classes
Summary: Back out D9614432 and partially revert D9623235 to unbreak OSS. Reviewed By: hramos Differential Revision: D9779548 fbshipit-source-id: 931c4987ed5acbae3790c42717662fed77599335
This commit is contained in:
committed by
Facebook Github Bot
parent
1151c096da
commit
2869117127
@@ -31,7 +31,6 @@ rn_android_library(
|
||||
react_native_dep("third-party/android/support-annotations:android-support-annotations"),
|
||||
react_native_dep("java/com/facebook/debug/debugoverlay/model:model"),
|
||||
react_native_dep("java/com/facebook/systrace:systrace"),
|
||||
react_native_dep("java/com/facebook/thecount:thecount"),
|
||||
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
|
||||
react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"),
|
||||
react_native_dep("third-party/java/infer-annotations:infer-annotations"),
|
||||
|
||||
@@ -13,8 +13,6 @@ import java.io.Writer;
|
||||
import java.util.ArrayDeque;
|
||||
import java.util.Deque;
|
||||
|
||||
import com.facebook.thecount.api.CountEnum;
|
||||
|
||||
/**
|
||||
* Simple Json generator that does no validation.
|
||||
*/
|
||||
@@ -209,7 +207,6 @@ public class JsonWriter implements Closeable {
|
||||
mScopes.push(scope);
|
||||
}
|
||||
|
||||
@CountEnum
|
||||
private enum Scope {
|
||||
EMPTY_OBJECT,
|
||||
OBJECT,
|
||||
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import com.facebook.thecount.api.CountEnum;
|
||||
|
||||
@CountEnum
|
||||
public enum MemoryPressure {
|
||||
UI_HIDDEN,
|
||||
MODERATE,
|
||||
|
||||
@@ -5,12 +5,9 @@
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import com.facebook.thecount.api.CountEnum;
|
||||
|
||||
/**
|
||||
* Constants used by ReactMarker.
|
||||
*/
|
||||
@CountEnum
|
||||
public enum ReactMarkerConstants {
|
||||
CREATE_REACT_CONTEXT_START,
|
||||
CREATE_REACT_CONTEXT_END,
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
|
||||
package com.facebook.react.bridge.queue;
|
||||
|
||||
import com.facebook.thecount.api.CountEnum;
|
||||
|
||||
/**
|
||||
* Spec for creating a MessageQueueThread.
|
||||
*/
|
||||
@@ -20,7 +18,6 @@ public class MessageQueueThreadSpec {
|
||||
// The Thread constructor interprets zero the same as not specifying a stack size
|
||||
public static final long DEFAULT_STACK_SIZE_BYTES = 0;
|
||||
|
||||
@CountEnum
|
||||
protected static enum ThreadType {
|
||||
MAIN_UI,
|
||||
NEW_BACKGROUND,
|
||||
|
||||
Reference in New Issue
Block a user