Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge #4408
Browse files Browse the repository at this point in the history
4408: Update detekt to version 1.0.1. r=pocmo,rocketsroger a=pocmo



Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
  • Loading branch information
MozLando and pocmo committed Sep 13, 2019
2 parents 7dea517 + 0d7ad2a commit 1f55c03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildscript {
}

plugins {
id("io.gitlab.arturbosch.detekt").version("1.0.0-RC16")
id("io.gitlab.arturbosch.detekt").version("1.0.1")
}

allprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ internal class FilePicker private constructor(
*/
private var captureUri: Uri? = null

@Suppress("ComplexMethod")
fun handleFileRequest(promptRequest: File, requestPermissions: Boolean = true) {
// Track which permissions are needed.
val neededPermissions = mutableListOf<String>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ internal class TimePickerDialogFragment : PromptDialogFragment(), DatePicker.OnD
safeArguments.putSerializable(KEY_SELECTED_DATE, value)
}

@Suppress("ComplexMethod")
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
val context = requireContext()
val dialog = when (selectionType) {
Expand Down

0 comments on commit 1f55c03

Please sign in to comment.