From 765b54db35a16b48dce9674fe0bb97f3921b008d Mon Sep 17 00:00:00 2001 From: QooQooDass Date: Fri, 15 Jul 2022 13:09:31 +0900 Subject: [PATCH] [#noissue] Clean unused import --- .../alarm-rule-list/alarm-rule-list-container.component.ts | 3 +-- .../group-member/group-member-container.component.ts | 2 +- .../agent-data-source-chart-container.component.ts | 1 - .../application-data-source-chart-container.component.ts | 1 - .../pinpoint-user/pinpoint-user-container.component.ts | 2 +- .../server-map/server-map-for-filtered-map-data.service.ts | 1 - .../components/user-group/user-group-container.component.ts | 2 +- .../webhook-list/webhook-list-container.component.ts | 1 - .../angular/src/app/core/httpInterceptor/error-interceptor.ts | 1 - 9 files changed, 4 insertions(+), 10 deletions(-) diff --git a/web/src/main/angular/src/app/core/components/alarm-rule-list/alarm-rule-list-container.component.ts b/web/src/main/angular/src/app/core/components/alarm-rule-list/alarm-rule-list-container.component.ts index ea9b3b01bd46..e02744a6762e 100644 --- a/web/src/main/angular/src/app/core/components/alarm-rule-list/alarm-rule-list-container.component.ts +++ b/web/src/main/angular/src/app/core/components/alarm-rule-list/alarm-rule-list-container.component.ts @@ -1,14 +1,13 @@ import { Component, OnInit, OnDestroy, ComponentFactoryResolver, Injector } from '@angular/core'; import { Subject, forkJoin } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; +import { filter, takeUntil } from 'rxjs/operators'; import { TranslateReplaceService, AnalyticsService, TRACKED_EVENT_LIST, DynamicPopupService, WebAppSettingDataService, WebhookDataService, IWebhook } from 'app/shared/services'; import { UserGroupDataService, IUserGroup } from 'app/core/components/user-group/user-group-data.service'; import { ApplicationListInteractionForConfigurationService } from 'app/core/components/application-list/application-list-interaction-for-configuration.service'; import { NotificationType, IAlarmForm } from './alarm-rule-create-and-update.component'; import { AlarmRuleDataService, IAlarmRule, IAlarmRuleCreated, IAlarmRuleDelete, IAlarmRuleResponse, IAlarmWithWebhook } from './alarm-rule-data.service'; -import { isThatType } from 'app/core/utils/util'; -import { filter, takeUntil } from 'rxjs/operators'; import { HELP_VIEWER_LIST, HelpViewerPopupContainerComponent } from '../help-viewer-popup/help-viewer-popup-container.component'; @Component({ diff --git a/web/src/main/angular/src/app/core/components/group-member/group-member-container.component.ts b/web/src/main/angular/src/app/core/components/group-member/group-member-container.component.ts index 1af4d60e3ebd..fb48645aced5 100644 --- a/web/src/main/angular/src/app/core/components/group-member/group-member-container.component.ts +++ b/web/src/main/angular/src/app/core/components/group-member/group-member-container.component.ts @@ -3,7 +3,7 @@ import { Subject, Observable } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { GroupMemberDataService, IGroupMember, IGroupMemberResponse } from './group-member-data.service'; -import { isThatType, isEmpty } from 'app/core/utils/util'; +import { isEmpty } from 'app/core/utils/util'; import { MessageQueueService, MESSAGE_TO, AnalyticsService, TRACKED_EVENT_LIST } from 'app/shared/services'; @Component({ diff --git a/web/src/main/angular/src/app/core/components/inspector-chart/agent-data-source-chart-container.component.ts b/web/src/main/angular/src/app/core/components/inspector-chart/agent-data-source-chart-container.component.ts index 7e24078a2f29..59e69dd60a92 100644 --- a/web/src/main/angular/src/app/core/components/inspector-chart/agent-data-source-chart-container.component.ts +++ b/web/src/main/angular/src/app/core/components/inspector-chart/agent-data-source-chart-container.component.ts @@ -15,7 +15,6 @@ import { } from 'app/shared/services'; import { AgentDataSourceChartDataService, IAgentDataSourceChart } from './agent-data-source-chart-data.service'; import { HELP_VIEWER_LIST, HelpViewerPopupContainerComponent } from 'app/core/components/help-viewer-popup/help-viewer-popup-container.component'; -import { isThatType } from 'app/core/utils/util'; import { InspectorPageService, ISourceForChart } from 'app/routes/inspector-page/inspector-page.service'; import { IInspectorChartData } from './inspector-chart-data.service'; import { Layer } from './inspector-chart-container.component'; diff --git a/web/src/main/angular/src/app/core/components/inspector-chart/application-data-source-chart-container.component.ts b/web/src/main/angular/src/app/core/components/inspector-chart/application-data-source-chart-container.component.ts index 6165272fc384..72a24a70d745 100644 --- a/web/src/main/angular/src/app/core/components/inspector-chart/application-data-source-chart-container.component.ts +++ b/web/src/main/angular/src/app/core/components/inspector-chart/application-data-source-chart-container.component.ts @@ -8,7 +8,6 @@ import { takeUntil, tap, switchMap, catchError, filter } from 'rxjs/operators'; import { AnalyticsService, StoreHelperService, DynamicPopupService, TRACKED_EVENT_LIST } from 'app/shared/services'; import { ApplicationDataSourceChartDataService, IApplicationDataSourceChart } from './application-data-source-chart-data.service'; import { HELP_VIEWER_LIST, HelpViewerPopupContainerComponent } from 'app/core/components/help-viewer-popup/help-viewer-popup-container.component'; -import { isThatType } from 'app/core/utils/util'; import { InspectorPageService, ISourceForChart } from 'app/routes/inspector-page/inspector-page.service'; import { IInspectorChartData } from './inspector-chart-data.service'; import { makeXData, makeYData, getMaxTickValue } from 'app/core/utils/chart-util'; diff --git a/web/src/main/angular/src/app/core/components/pinpoint-user/pinpoint-user-container.component.ts b/web/src/main/angular/src/app/core/components/pinpoint-user/pinpoint-user-container.component.ts index cf74e08416d8..36a7081107c9 100644 --- a/web/src/main/angular/src/app/core/components/pinpoint-user/pinpoint-user-container.component.ts +++ b/web/src/main/angular/src/app/core/components/pinpoint-user/pinpoint-user-container.component.ts @@ -4,7 +4,7 @@ import { TranslateService } from '@ngx-translate/core'; import { TranslateReplaceService, WebAppSettingDataService, MessageQueueService, MESSAGE_TO, AnalyticsService, TRACKED_EVENT_LIST } from 'app/shared/services'; import { PinpointUserDataService, IPinpointUserResponse } from './pinpoint-user-data.service'; -import { isThatType, isEmpty } from 'app/core/utils/util'; +import { isEmpty } from 'app/core/utils/util'; @Component({ selector: 'pp-pinpoint-user-container', diff --git a/web/src/main/angular/src/app/core/components/server-map/server-map-for-filtered-map-data.service.ts b/web/src/main/angular/src/app/core/components/server-map/server-map-for-filtered-map-data.service.ts index 7bbfa36e67f6..fa9502d1cba3 100644 --- a/web/src/main/angular/src/app/core/components/server-map/server-map-for-filtered-map-data.service.ts +++ b/web/src/main/angular/src/app/core/components/server-map/server-map-for-filtered-map-data.service.ts @@ -7,7 +7,6 @@ import { Actions } from 'app/shared/store/reducers'; import { UrlQuery, UrlPathId, UrlPath } from 'app/shared/models'; import { WebAppSettingDataService, NewUrlStateNotificationService, StoreHelperService, DynamicPopupService, UrlRouteManagerService } from 'app/shared/services'; import { ServerErrorPopupContainerComponent } from 'app/core/components/server-error-popup/server-error-popup-container.component'; -import { isThatType } from 'app/core/utils/util'; @Injectable() export class ServerMapForFilteredMapDataService { diff --git a/web/src/main/angular/src/app/core/components/user-group/user-group-container.component.ts b/web/src/main/angular/src/app/core/components/user-group/user-group-container.component.ts index b285dff85dac..23fd49d3085e 100644 --- a/web/src/main/angular/src/app/core/components/user-group/user-group-container.component.ts +++ b/web/src/main/angular/src/app/core/components/user-group/user-group-container.component.ts @@ -4,7 +4,7 @@ import { TranslateService } from '@ngx-translate/core'; import { WebAppSettingDataService, TranslateReplaceService, MessageQueueService, MESSAGE_TO, AnalyticsService, TRACKED_EVENT_LIST } from 'app/shared/services'; import { UserGroupDataService, IUserGroup, IUserGroupCreated, IUserGroupDeleted } from './user-group-data.service'; -import { isThatType, isEmpty } from 'app/core/utils/util'; +import { isEmpty } from 'app/core/utils/util'; @Component({ selector: 'pp-user-group-container', diff --git a/web/src/main/angular/src/app/core/components/webhook-list/webhook-list-container.component.ts b/web/src/main/angular/src/app/core/components/webhook-list/webhook-list-container.component.ts index 5a1a1d9069f3..772dbf12bfd3 100644 --- a/web/src/main/angular/src/app/core/components/webhook-list/webhook-list-container.component.ts +++ b/web/src/main/angular/src/app/core/components/webhook-list/webhook-list-container.component.ts @@ -6,7 +6,6 @@ import { TranslateService } from '@ngx-translate/core'; import { IWebhook, IWebhookCreate, IWebhookRule, WebhookDataService } from 'app/shared/services/webhook-data.service'; import { AnalyticsService, TRACKED_EVENT_LIST, WebAppSettingDataService, TranslateReplaceService } from 'app/shared/services'; import { ApplicationListInteractionForConfigurationService } from 'app/core/components/application-list/application-list-interaction-for-configuration.service'; -import { isThatType } from 'app/core/utils/util'; @Component({ selector: 'pp-webhook-list-container', diff --git a/web/src/main/angular/src/app/core/httpInterceptor/error-interceptor.ts b/web/src/main/angular/src/app/core/httpInterceptor/error-interceptor.ts index fa79975e789f..e4dcafa522b8 100644 --- a/web/src/main/angular/src/app/core/httpInterceptor/error-interceptor.ts +++ b/web/src/main/angular/src/app/core/httpInterceptor/error-interceptor.ts @@ -4,7 +4,6 @@ import { Observable, throwError, EMPTY, of } from 'rxjs'; import { catchError, retry, switchMap } from 'rxjs/operators'; import { AuthService } from 'app/shared/services'; -import { isThatType } from 'app/core/utils/util'; @Injectable()