Skip to content

Commit

Permalink
ref: Clean up unused imports (#2244)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrenskers authored Oct 3, 2022
1 parent 4a0c282 commit e2f1150
Show file tree
Hide file tree
Showing 31 changed files with 1 addition and 43 deletions.
1 change: 0 additions & 1 deletion Sources/Sentry/PrivateSentrySDKOnly.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#import "SentryMeta.h"
#import "SentrySDK+Private.h"
#import "SentrySerialization.h"
#import <Foundation/Foundation.h>
#import <SentryDependencyContainer.h>
#import <SentryFramesTracker.h>

Expand Down
2 changes: 0 additions & 2 deletions Sources/Sentry/Public/PrivateSentrySDKOnly.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"

@class SentryEnvelope, SentryDebugMeta, SentryAppStartMeasurement, SentryScreenFrames,
Expand Down
2 changes: 0 additions & 2 deletions Sources/Sentry/Public/SentryClient.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"

@class SentryOptions, SentrySession, SentryEvent, SentryEnvelope, SentryScope, SentryFileManager,
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/Public/SentryError.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 0 additions & 2 deletions Sources/Sentry/Public/SentrySDK.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"

@protocol SentrySpan;
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/Public/SentryTraceHeader.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#import "SentryDefines.h"
#import "SentrySampleDecision.h"
#import <Foundation/Foundation.h>

@class SentryId, SentrySpanId;

Expand Down
4 changes: 0 additions & 4 deletions Sources/Sentry/SentryANRTrackingIntegration.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@
#import "SentryEvent.h"
#import "SentryException.h"
#import "SentryHub+Private.h"
#import "SentryLog.h"
#import "SentryMechanism.h"
#import "SentrySDK+Private.h"
#import "SentryThread.h"
#import "SentryThreadInspector.h"
#import "SentryThreadWrapper.h"
#import <Foundation/Foundation.h>
#import <SentryAppState.h>
#import <SentryAppStateManager.h>
#import <SentryDependencyContainer.h>
#import <SentryOptions+Private.h>

Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentryAppState.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#import <Foundation/Foundation.h>
#import <NSDate+SentryExtras.h>
#import <SentryAppState.h>

Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentryDependencyContainer.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#import "SentryDefaultCurrentDateProvider.h"
#import "SentryDispatchQueueWrapper.h"
#import "SentryUIApplication.h"
#import <Foundation/Foundation.h>
#import <SentryAppStateManager.h>
#import <SentryClient+Private.h>
#import <SentryCrashWrapper.h>
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentryFileContents.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#import "SentryFileContents.h"
#import <Foundation/Foundation.h>

@interface
SentryFileContents ()
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentryMigrateSessionInit.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#import "SentryLog.h"
#import "SentrySerialization.h"
#import "SentrySession+Private.h"
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
3 changes: 0 additions & 3 deletions Sources/Sentry/SentryOutOfMemoryTrackingIntegration.m
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>
#import <SentryAppState.h>
#import <SentryAppStateManager.h>
#import <SentryClient+Private.h>
#import <SentryCrashWrapper.h>
#import <SentryDefaultCurrentDateProvider.h>
#import <SentryDependencyContainer.h>
#import <SentryDispatchQueueWrapper.h>
#import <SentryHub.h>
#import <SentryLog.h>
#import <SentryOptions+Private.h>
#import <SentryOutOfMemoryLogic.h>
#import <SentryOutOfMemoryTracker.h>
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentrySwizzleWrapper.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#import "SentrySwizzleWrapper.h"
#import "SentrySwizzle.h"
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 0 additions & 2 deletions Sources/Sentry/SentrySystemEventBreadcrumbs.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#import "SentrySystemEventBreadcrumbs.h"
#import "SentryAppState.h"
#import "SentryAppStateManager.h"
#import "SentryBreadcrumb.h"
#import "SentryCurrentDateProvider.h"
#import "SentryDependencyContainer.h"
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryClient+Private.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#import "SentryClient.h"
#import "SentryDataCategory.h"
#import "SentryDiscardReason.h"
#import <Foundation/Foundation.h>

@class SentryEnvelopeItem, SentryId, SentryAttachment, SentryThreadInspector;

Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryDependencyContainer.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#import "SentryDefines.h"
#import "SentryFileManager.h"
#import "SentryRandom.h"
#import <Foundation/Foundation.h>

@class SentryAppStateManager, SentryCrashWrapper, SentryThreadWrapper, SentrySwizzleWrapper,
SentryDispatchQueueWrapper, SentryDebugImageProvider, SentryANRTracker,
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryDiscardedEvent.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#import "SentryDataCategory.h"
#import "SentryDiscardReason.h"
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 0 additions & 2 deletions Sources/Sentry/include/SentryFileManager.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#import <Foundation/Foundation.h>

#import "SentryCurrentDateProvider.h"
#import "SentryDataCategory.h"
#import "SentryDefines.h"
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryLevelMapper.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryLog.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>

@class SentryLogOutput;

Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryMigrateSessionInit.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>

@class SentryEnvelope;

Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryScreenshot.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>

#if SENTRY_HAS_UIKIT

Expand Down
2 changes: 0 additions & 2 deletions Sources/Sentry/include/SentrySerialization.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"

@class SentrySession, SentryEnvelope, SentryAppState;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sentry/include/SentrySystemEventBreadcrumbs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryAppStateManager.h"
#import "SentryCurrentDateProvider.h"
#import "SentryFileManager.h"
#import <Foundation/Foundation.h>

#if TARGET_OS_IOS
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryTraceContext.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#import "SentryId.h"
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryTracesSampler.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#import "SentryRandom.h"
#import "SentrySampleDecision.h"
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryUIApplication.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>

#if SENTRY_HAS_UIKIT
# import <UIKit/UIKit.h>
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/include/SentryViewHierarchy.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>

#if SENTRY_HAS_UIKIT

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#import "SentryCrashReportFilter.h"
#import "SentryCrashReportWriter.h"
#import <Foundation/Foundation.h>

/**
* Crash system installation which handles backend-specific details.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "SentryCrashMonitorContext.h"
#import "SentryCrashStackCursor_Backtrace.h"
#include "SentryCrashThread.h"
#import <Foundation/Foundation.h>

//#define SentryCrashLogger_LocalLevel TRACE
#import "SentryCrashLogger.h"
Expand Down
2 changes: 0 additions & 2 deletions Sources/SentryCrash/Recording/SentryCrash.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
// THE SOFTWARE.
//

#import <Foundation/Foundation.h>

#import "SentryCrashMonitorType.h"
#import "SentryCrashReportFilter.h"
#import "SentryCrashReportWriter.h"
Expand Down

0 comments on commit e2f1150

Please sign in to comment.