For #25980: Suppress LongParameterList warning.
Remove issues from baseline.
This commit is contained in:
parent
5e88437d61
commit
55724deda9
|
@ -49,6 +49,7 @@ interface BrowserToolbarController {
|
|||
fun handleHomeButtonClick()
|
||||
}
|
||||
|
||||
@Suppress("LongParameterList")
|
||||
class DefaultBrowserToolbarController(
|
||||
private val store: BrowserStore,
|
||||
private val tabsUseCases: TabsUseCases,
|
||||
|
|
|
@ -58,7 +58,7 @@ interface BrowserToolbarMenuController {
|
|||
fun handleToolbarItemInteraction(item: ToolbarMenu.Item)
|
||||
}
|
||||
|
||||
@Suppress("LargeClass", "ForbiddenComment")
|
||||
@Suppress("LargeClass", "ForbiddenComment", "LongParameterList")
|
||||
class DefaultBrowserToolbarMenuController(
|
||||
private val store: BrowserStore,
|
||||
private val activity: HomeActivity,
|
||||
|
|
|
@ -38,6 +38,8 @@ import org.mozilla.fenix.utils.Settings
|
|||
* @param sessionId [String] Id of the tab or custom tab which should be observed for [EngineState.crashed]
|
||||
* depending on which [crashReporterView] will be shown or hidden.
|
||||
*/
|
||||
|
||||
@Suppress("LongParameterList")
|
||||
class CrashContentIntegration(
|
||||
private val browserStore: BrowserStore,
|
||||
private val appStore: AppStore,
|
||||
|
|
|
@ -16,6 +16,7 @@ import mozilla.components.support.base.feature.UserInteractionHandler
|
|||
import org.mozilla.fenix.R
|
||||
import org.mozilla.fenix.components.toolbar.ToolbarMenu
|
||||
|
||||
@Suppress("LongParameterList")
|
||||
class CustomTabsIntegration(
|
||||
store: BrowserStore,
|
||||
useCases: CustomTabsUseCases,
|
||||
|
|
|
@ -26,6 +26,7 @@ interface DeleteBrowsingDataController {
|
|||
suspend fun deleteDownloads()
|
||||
}
|
||||
|
||||
@Suppress("LongParameterList")
|
||||
class DefaultDeleteBrowsingDataController(
|
||||
private val removeAllTabs: TabsUseCases.RemoveAllTabsUseCase,
|
||||
private val removeAllDownloads: DownloadsUseCases.RemoveAllDownloadsUseCase,
|
||||
|
|
|
@ -6,11 +6,6 @@
|
|||
<ID>FunctionOnlyReturningConstant:MetricsUtils.kt$MetricsUtils$ @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE) internal fun getHashingSalt(): String</ID>
|
||||
<ID>FunctionOnlyReturningConstant:SupportUtils.kt$SupportUtils$fun getFirefoxAccountSumoUrl(): String</ID>
|
||||
<ID>FunctionParameterNaming:FenixSnackbar.kt$FenixSnackbar.Companion$_view: View?</ID>
|
||||
<ID>LongParameterList:BrowserToolbarController.kt$DefaultBrowserToolbarController$( private val store: BrowserStore, private val tabsUseCases: TabsUseCases, private val activity: HomeActivity, private val navController: NavController, private val readerModeController: ReaderModeController, private val engineView: EngineView, private val homeViewModel: HomeScreenViewModel, private val customTabSessionId: String?, private val browserAnimator: BrowserAnimator, private val onTabCounterClicked: () -> Unit, private val onCloseTab: (SessionState) -> Unit )</ID>
|
||||
<ID>LongParameterList:BrowserToolbarMenuController.kt$DefaultBrowserToolbarMenuController$( private val store: BrowserStore, private val activity: HomeActivity, private val navController: NavController, private val settings: Settings, private val readerModeController: ReaderModeController, private val sessionFeature: ViewBoundFeatureWrapper<SessionFeature>, private val findInPageLauncher: () -> Unit, private val browserAnimator: BrowserAnimator, private val swipeRefresh: SwipeRefreshLayout, private val customTabSessionId: String?, private val openInFenixIntent: Intent, private val bookmarkTapped: (String, String) -> Unit, private val scope: CoroutineScope, private val tabCollectionStorage: TabCollectionStorage, private val topSitesStorage: DefaultTopSitesStorage, private val pinnedSiteStorage: PinnedSiteStorage, private val browserStore: BrowserStore )</ID>
|
||||
<ID>LongParameterList:CrashContentIntegration.kt$CrashContentIntegration$( private val browserStore: BrowserStore, private val appStore: AppStore, private val toolbar: BrowserToolbar, private val isToolbarPlacedAtTop: Boolean, private val crashReporterView: CrashContentView, private val components: Components, private val settings: Settings, private val navController: NavController, private val sessionId: String? )</ID>
|
||||
<ID>LongParameterList:CustomTabsIntegration.kt$CustomTabsIntegration$( store: BrowserStore, useCases: CustomTabsUseCases, toolbar: BrowserToolbar, sessionId: String, activity: Activity, onItemTapped: (ToolbarMenu.Item) -> Unit = {}, shouldReverseItems: Boolean, isPrivate: Boolean )</ID>
|
||||
<ID>LongParameterList:DeleteBrowsingDataController.kt$DefaultDeleteBrowsingDataController$( private val removeAllTabs: TabsUseCases.RemoveAllTabsUseCase, private val removeAllDownloads: DownloadsUseCases.RemoveAllDownloadsUseCase, private val historyStorage: HistoryStorage, private val permissionStorage: PermissionStorage, private val store: BrowserStore, private val iconsStorage: BrowserIcons, private val engine: Engine, private val coroutineContext: CoroutineContext = Dispatchers.Main )</ID>
|
||||
<ID>LongParameterList:HistoryController.kt$DefaultHistoryController$( private val store: HistoryFragmentStore, private val navController: NavController, private val scope: CoroutineScope, private val openToBrowser: (item: History.Regular) -> Unit, private val displayDeleteAll: () -> Unit, private val invalidateOptionsMenu: () -> Unit, private val deleteHistoryItems: (Set<History>) -> Unit, private val syncHistory: suspend () -> Unit, private val metrics: MetricController )</ID>
|
||||
<ID>LongParameterList:QuickSettingsController.kt$DefaultQuickSettingsController$( private val context: Context, private val quickSettingsStore: QuickSettingsFragmentStore, private val browserStore: BrowserStore, private val ioScope: CoroutineScope, private val navController: NavController, @VisibleForTesting internal val sessionId: String, @VisibleForTesting internal var sitePermissions: SitePermissions?, private val settings: Settings, private val permissionStorage: PermissionStorage, private val reload: ReloadUrlUseCase, private val requestRuntimePermissions: OnNeedToRequestPermissions = { }, private val displayPermissions: () -> Unit, private val engine: Engine = context.components.core.engine, )</ID>
|
||||
<ID>LongParameterList:ShareController.kt$DefaultShareController$( private val context: Context, private val shareSubject: String?, private val shareData: List<ShareData>, private val sendTabUseCases: SendTabUseCases, private val snackbar: FenixSnackbar, private val navController: NavController, private val recentAppsStorage: RecentAppsStorage, private val viewLifecycleScope: CoroutineScope, private val dispatcher: CoroutineDispatcher = Dispatchers.IO, private val dismiss: (ShareController.Result) -> Unit, )</ID>
|
||||
|
|
Loading…
Reference in New Issue
Block a user