From 4a893ee071f76377a678fe9774190397f636598a Mon Sep 17 00:00:00 2001 From: Mathieu Baudet Date: Sun, 19 Feb 2017 18:23:20 -0800 Subject: [PATCH] remove unused includes in fbobjc/Libraries Reviewed By: swolchok Differential Revision: D4507573 fbshipit-source-id: 7fc6df52bc37c39698c7897be567758469417218 --- .../UIExplorer/UIExplorerUnitTests/RCTConvert_YGValueTests.m | 1 - Examples/UIExplorer/UIExplorerUnitTests/RCTJSCExecutorTests.m | 1 - .../UIExplorerUnitTests/RCTModuleInitNotificationRaceTests.m | 1 - .../UIExplorerUnitTests/RCTMultipartStreamReaderTests.m | 1 - Libraries/CameraRoll/RCTImagePickerManager.m | 1 - Libraries/Image/RCTGIFImageDecoder.m | 1 - Libraries/Image/RCTImageCache.m | 1 - Libraries/Image/RCTImageViewManager.m | 1 - Libraries/NativeAnimation/Drivers/RCTSpringAnimation.m | 1 - React/Modules/RCTClipboard.m | 2 -- React/Views/RCTSlider.m | 2 -- ReactCommon/cxxreact/JSBigString.cpp | 1 - ReactCommon/cxxreact/tests/jsarg_helpers.cpp | 1 - ReactCommon/cxxreact/tests/jsbigstring.cpp | 2 -- 14 files changed, 17 deletions(-) diff --git a/Examples/UIExplorer/UIExplorerUnitTests/RCTConvert_YGValueTests.m b/Examples/UIExplorer/UIExplorerUnitTests/RCTConvert_YGValueTests.m index 3b6f64f58..299dc5b16 100644 --- a/Examples/UIExplorer/UIExplorerUnitTests/RCTConvert_YGValueTests.m +++ b/Examples/UIExplorer/UIExplorerUnitTests/RCTConvert_YGValueTests.m @@ -15,7 +15,6 @@ #import #import -#import @interface RCTConvert_YGValueTests : XCTestCase diff --git a/Examples/UIExplorer/UIExplorerUnitTests/RCTJSCExecutorTests.m b/Examples/UIExplorer/UIExplorerUnitTests/RCTJSCExecutorTests.m index a7418e53c..92118c3f6 100644 --- a/Examples/UIExplorer/UIExplorerUnitTests/RCTJSCExecutorTests.m +++ b/Examples/UIExplorer/UIExplorerUnitTests/RCTJSCExecutorTests.m @@ -17,7 +17,6 @@ #import #import -#import @interface RCTJSCExecutorTests : XCTestCase diff --git a/Examples/UIExplorer/UIExplorerUnitTests/RCTModuleInitNotificationRaceTests.m b/Examples/UIExplorer/UIExplorerUnitTests/RCTModuleInitNotificationRaceTests.m index 126b466df..127865076 100644 --- a/Examples/UIExplorer/UIExplorerUnitTests/RCTModuleInitNotificationRaceTests.m +++ b/Examples/UIExplorer/UIExplorerUnitTests/RCTModuleInitNotificationRaceTests.m @@ -20,7 +20,6 @@ #import #import #import -#import #import #define RUN_RUNLOOP_WHILE(CONDITION) \ diff --git a/Examples/UIExplorer/UIExplorerUnitTests/RCTMultipartStreamReaderTests.m b/Examples/UIExplorer/UIExplorerUnitTests/RCTMultipartStreamReaderTests.m index a3c96c084..6b8297a80 100644 --- a/Examples/UIExplorer/UIExplorerUnitTests/RCTMultipartStreamReaderTests.m +++ b/Examples/UIExplorer/UIExplorerUnitTests/RCTMultipartStreamReaderTests.m @@ -15,7 +15,6 @@ #import #import -#import @interface RCTMultipartStreamReaderTests : XCTestCase diff --git a/Libraries/CameraRoll/RCTImagePickerManager.m b/Libraries/CameraRoll/RCTImagePickerManager.m index 0e30307f8..e851b5fca 100644 --- a/Libraries/CameraRoll/RCTImagePickerManager.m +++ b/Libraries/CameraRoll/RCTImagePickerManager.m @@ -15,7 +15,6 @@ #import #import -#import #import #import diff --git a/Libraries/Image/RCTGIFImageDecoder.m b/Libraries/Image/RCTGIFImageDecoder.m index dc3beb702..e9777bec1 100644 --- a/Libraries/Image/RCTGIFImageDecoder.m +++ b/Libraries/Image/RCTGIFImageDecoder.m @@ -10,7 +10,6 @@ #import "RCTGIFImageDecoder.h" #import -#import #import #import diff --git a/Libraries/Image/RCTImageCache.m b/Libraries/Image/RCTImageCache.m index 43d5aeafe..267edd2da 100644 --- a/Libraries/Image/RCTImageCache.m +++ b/Libraries/Image/RCTImageCache.m @@ -9,7 +9,6 @@ #import "RCTImageCache.h" -#import #import #import diff --git a/Libraries/Image/RCTImageViewManager.m b/Libraries/Image/RCTImageViewManager.m index 2d044fb03..3b1035f96 100644 --- a/Libraries/Image/RCTImageViewManager.m +++ b/Libraries/Image/RCTImageViewManager.m @@ -12,7 +12,6 @@ #import #import -#import #import "RCTImageLoader.h" #import "RCTImageView.h" diff --git a/Libraries/NativeAnimation/Drivers/RCTSpringAnimation.m b/Libraries/NativeAnimation/Drivers/RCTSpringAnimation.m index e0bb3363a..c9709d48e 100644 --- a/Libraries/NativeAnimation/Drivers/RCTSpringAnimation.m +++ b/Libraries/NativeAnimation/Drivers/RCTSpringAnimation.m @@ -14,7 +14,6 @@ #import #import -#import "RCTAnimationUtils.h" #import "RCTValueAnimatedNode.h" @interface RCTSpringAnimation () diff --git a/React/Modules/RCTClipboard.m b/React/Modules/RCTClipboard.m index 8d059c4a3..8115f5e52 100644 --- a/React/Modules/RCTClipboard.m +++ b/React/Modules/RCTClipboard.m @@ -9,8 +9,6 @@ #import "RCTClipboard.h" -#import "RCTUtils.h" - #import @implementation RCTClipboard diff --git a/React/Views/RCTSlider.m b/React/Views/RCTSlider.m index 4032794eb..358d443fb 100644 --- a/React/Views/RCTSlider.m +++ b/React/Views/RCTSlider.m @@ -9,8 +9,6 @@ #import "RCTSlider.h" -#import - @implementation RCTSlider { float _unclippedValue; diff --git a/ReactCommon/cxxreact/JSBigString.cpp b/ReactCommon/cxxreact/JSBigString.cpp index 69ed3a461..2bd444800 100644 --- a/ReactCommon/cxxreact/JSBigString.cpp +++ b/ReactCommon/cxxreact/JSBigString.cpp @@ -3,7 +3,6 @@ #include "JSBigString.h" #include -#include #include #include diff --git a/ReactCommon/cxxreact/tests/jsarg_helpers.cpp b/ReactCommon/cxxreact/tests/jsarg_helpers.cpp index 0a2268a6a..8f246bc1e 100644 --- a/ReactCommon/cxxreact/tests/jsarg_helpers.cpp +++ b/ReactCommon/cxxreact/tests/jsarg_helpers.cpp @@ -6,7 +6,6 @@ #include #include -#include using namespace std; using namespace folly; diff --git a/ReactCommon/cxxreact/tests/jsbigstring.cpp b/ReactCommon/cxxreact/tests/jsbigstring.cpp index 75f9a9cda..eaa91a946 100644 --- a/ReactCommon/cxxreact/tests/jsbigstring.cpp +++ b/ReactCommon/cxxreact/tests/jsbigstring.cpp @@ -1,4 +1,3 @@ - // Copyright 2004-present Facebook. All Rights Reserved. #include #include @@ -6,7 +5,6 @@ #include #include #include -#include #include using namespace facebook;