From d33745b646ef2d0e95032660b07a4654cafa8862 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Tue, 23 Aug 2016 15:09:26 +0300 Subject: [PATCH] BreakableBlockInfo : converted to Kotlin (cherry picked from commit 22c7ee5) --- .../kotlin/cfg/BreakableBlockInfo.kt | 42 ++++--------------- .../src/org/jetbrains/kotlin/cfg/LoopInfo.kt | 8 +--- 2 files changed, 11 insertions(+), 39 deletions(-) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/cfg/BreakableBlockInfo.kt b/compiler/frontend/src/org/jetbrains/kotlin/cfg/BreakableBlockInfo.kt index b2672f0d9c2..ea15e147d46 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/cfg/BreakableBlockInfo.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/cfg/BreakableBlockInfo.kt @@ -14,44 +14,20 @@ * limitations under the License. */ -package org.jetbrains.kotlin.cfg; +package org.jetbrains.kotlin.cfg -import com.google.common.collect.Sets; -import org.jetbrains.kotlin.psi.KtElement; +import org.jetbrains.kotlin.psi.KtElement -import java.util.Collections; -import java.util.Set; +import java.util.Collections -public abstract class BreakableBlockInfo extends BlockInfo { - private final KtElement element; - private final Label entryPoint; - private final Label exitPoint; - private final Set