Remove whitespaces before labels in project code
Whitespaces are not allowed after lates syntax changes
This commit is contained in:
@@ -81,7 +81,7 @@ fun suite(): TestSuite {
|
|||||||
thread = event.thread()
|
thread = event.thread()
|
||||||
latch.countDown()
|
latch.countDown()
|
||||||
|
|
||||||
break @mainLoop
|
break@mainLoop
|
||||||
}
|
}
|
||||||
else -> {}
|
else -> {}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ private fun getModuleInfoByVirtualFile(project: Project, virtualFile: VirtualFil
|
|||||||
@entries for (orderEntry in orderEntries) {
|
@entries for (orderEntry in orderEntries) {
|
||||||
when (orderEntry) {
|
when (orderEntry) {
|
||||||
is LibraryOrderEntry -> {
|
is LibraryOrderEntry -> {
|
||||||
val library = orderEntry.getLibrary() ?: continue @entries
|
val library = orderEntry.getLibrary() ?: continue@entries
|
||||||
if (ProjectRootsUtil.isLibraryClassFile(project, virtualFile) && !isDecompiledFile) {
|
if (ProjectRootsUtil.isLibraryClassFile(project, virtualFile) && !isDecompiledFile) {
|
||||||
return LibraryInfo(project, library)
|
return LibraryInfo(project, library)
|
||||||
}
|
}
|
||||||
@@ -102,7 +102,7 @@ private fun getModuleInfoByVirtualFile(project: Project, virtualFile: VirtualFil
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
is JdkOrderEntry -> {
|
is JdkOrderEntry -> {
|
||||||
val sdk = orderEntry.getJdk() ?: continue @entries
|
val sdk = orderEntry.getJdk() ?: continue@entries
|
||||||
return SdkInfo(project, sdk)
|
return SdkInfo(project, sdk)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -163,7 +163,7 @@ fun ExtractableCodeDescriptor.findDuplicates(): List<DuplicateInfo> {
|
|||||||
for (currentValue in controlFlow.outputValues)
|
for (currentValue in controlFlow.outputValues)
|
||||||
for (newValue in newControlFlow.outputValues) {
|
for (newValue in newControlFlow.outputValues) {
|
||||||
if ((currentValue is ExpressionValue) != (newValue is ExpressionValue)) continue
|
if ((currentValue is ExpressionValue) != (newValue is ExpressionValue)) continue
|
||||||
if (matchValues(currentValue, newValue)) continue @outer
|
if (matchValues(currentValue, newValue)) continue@outer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -611,7 +611,7 @@ public class JetPsiUnifier(
|
|||||||
@outer
|
@outer
|
||||||
for (specifier1 in delegationInfo1.orderInsensitive) {
|
for (specifier1 in delegationInfo1.orderInsensitive) {
|
||||||
for (specifier2 in delegationInfo2.orderInsensitive) {
|
for (specifier2 in delegationInfo2.orderInsensitive) {
|
||||||
if (doUnify(specifier1, specifier2) != UNMATCHED) continue @outer
|
if (doUnify(specifier1, specifier2) != UNMATCHED) continue@outer
|
||||||
}
|
}
|
||||||
return UNMATCHED
|
return UNMATCHED
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user