common-kotlin:DuplicatedBlocks should ignore imports

SonarQube™ technology is powered by SonarSource SA Version 6.7.4 (build 38452)
SonarKotlinLanguages 1.0.1 (build 965)

package com.mycompany;

import org.w3c.dom.Document
import javax.inject.Inject
import javax.inject.Singleton
import javax.xml.transform.TransformerFactory
import javax.xml.transform.dom.DOMSource
Wrap code around triple quote ``` for proper formatting

I initially reported it here by mistake

1 Like

Hmm… I just found this

Seems like it’s the same thing but it is fixed. No clear version where it got fixed.

The “fix version” was missing on SONARSLANG-62, I corrected it. Thanks.
That should be released early October, as part of SonarKotlin 1.1.

To close this thread, SONARSLANG-62 was fixed and it is available as part of SonarKotlin 1.2.1

Thank you! I updated. Will report back if this will appear again.