Skip to content

Commit

Permalink
Update detekt
Browse files Browse the repository at this point in the history
### What's done:
* Suppress some detekt findings
  • Loading branch information
petertrr committed Jun 1, 2022
1 parent fc4e54c commit c8ba068
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -36,7 +36,7 @@ class KotlinParser {
(transaction as PomTransactionBase).run()
}

@Suppress("UNCHECKED_CAST")
@Suppress("UNCHECKED_CAST", "SpreadOperator")
override fun <T : PomModelAspect> getModelAspect(aspect: Class<T>): T? {
if (aspect == TreeAspect::class.java) {
val constructor = ReflectionFactory.getReflectionFactory().newConstructorForSerialization(
Expand Down
Expand Up @@ -9,7 +9,7 @@ import org.slf4j.LoggerFactory
*/
class TestCheckWarn : TestCompare() {
@Suppress("MISSING_KDOC_CLASS_ELEMENTS") override val log: Logger = LoggerFactory.getLogger(TestCheckWarn::class.java)
@Suppress("UnusedPrivateMember", "UNUSED") private var testConfig: TestConfig? = null
@Suppress("UnusedPrivateMember", "UNUSED", "VarCouldBeVal") private var testConfig: TestConfig? = null

/**
* Get tests execution result
Expand Down

0 comments on commit c8ba068

Please sign in to comment.