Remove whitespaces before labels in project code

Whitespaces are not allowed after lates syntax changes
This commit is contained in:
Denis Zharkov
2015-04-28 10:55:38 +03:00
parent 3e3535f8cf
commit ffa9b0aa7c
4 changed files with 5 additions and 5 deletions
@@ -81,7 +81,7 @@ fun suite(): TestSuite {
thread = event.thread()
latch.countDown()
break @mainLoop
break@mainLoop
}
else -> {}
}
@@ -93,7 +93,7 @@ private fun getModuleInfoByVirtualFile(project: Project, virtualFile: VirtualFil
@entries for (orderEntry in orderEntries) {
when (orderEntry) {
is LibraryOrderEntry -> {
val library = orderEntry.getLibrary() ?: continue @entries
val library = orderEntry.getLibrary() ?: continue@entries
if (ProjectRootsUtil.isLibraryClassFile(project, virtualFile) && !isDecompiledFile) {
return LibraryInfo(project, library)
}
@@ -102,7 +102,7 @@ private fun getModuleInfoByVirtualFile(project: Project, virtualFile: VirtualFil
}
}
is JdkOrderEntry -> {
val sdk = orderEntry.getJdk() ?: continue @entries
val sdk = orderEntry.getJdk() ?: continue@entries
return SdkInfo(project, sdk)
}
}
@@ -163,7 +163,7 @@ fun ExtractableCodeDescriptor.findDuplicates(): List<DuplicateInfo> {
for (currentValue in controlFlow.outputValues)
for (newValue in newControlFlow.outputValues) {
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
for (specifier1 in delegationInfo1.orderInsensitive) {
for (specifier2 in delegationInfo2.orderInsensitive) {
if (doUnify(specifier1, specifier2) != UNMATCHED) continue @outer
if (doUnify(specifier1, specifier2) != UNMATCHED) continue@outer
}
return UNMATCHED
}