diff --git a/idea/idea-analysis/src/org/jetbrains/jet/plugin/intentions/JetSelfTargetingIntention.kt b/idea/idea-analysis/src/org/jetbrains/jet/plugin/intentions/JetSelfTargetingIntention.kt index ec1e0abdeaa..9140e16cc17 100644 --- a/idea/idea-analysis/src/org/jetbrains/jet/plugin/intentions/JetSelfTargetingIntention.kt +++ b/idea/idea-analysis/src/org/jetbrains/jet/plugin/intentions/JetSelfTargetingIntention.kt @@ -20,7 +20,7 @@ import com.intellij.openapi.editor.Editor import com.intellij.openapi.project.Project import com.intellij.psi.PsiFile import org.jetbrains.kotlin.psi.JetElement -import org.jetbrains.jet.plugin.JetBundle +import org.jetbrains.kotlin.plugin.JetBundle import org.jetbrains.kotlin.psi.psiUtil.getParentOfTypesAndPredicate import com.intellij.codeInsight.intention.IntentionAction diff --git a/idea/idea-analysis/src/org/jetbrains/jet/plugin/intentions/SimplifyNegatedBinaryExpressionIntention.kt b/idea/idea-analysis/src/org/jetbrains/jet/plugin/intentions/SimplifyNegatedBinaryExpressionIntention.kt index d9195a3f8d4..ba8a0f92ec6 100644 --- a/idea/idea-analysis/src/org/jetbrains/jet/plugin/intentions/SimplifyNegatedBinaryExpressionIntention.kt +++ b/idea/idea-analysis/src/org/jetbrains/jet/plugin/intentions/SimplifyNegatedBinaryExpressionIntention.kt @@ -27,9 +27,8 @@ import org.jetbrains.kotlin.psi.JetBinaryExpression import com.intellij.openapi.editor.Editor import org.jetbrains.kotlin.lexer.JetTokens import org.jetbrains.kotlin.psi.JetPsiUtil -import org.jetbrains.jet.plugin.JetBundle +import org.jetbrains.kotlin.plugin.JetBundle import org.jetbrains.kotlin.psi.JetPsiFactory -import com.intellij.psi.PsiElement public class SimplifyNegatedBinaryExpressionIntention : JetSelfTargetingIntention("simplify.negated.binary.expression", javaClass()) { diff --git a/idea/idea-analysis/src/org/jetbrains/jet/plugin/quickfix/KotlinSuppressIntentionAction.kt b/idea/idea-analysis/src/org/jetbrains/jet/plugin/quickfix/KotlinSuppressIntentionAction.kt index fb454e444b6..e5c3ac36419 100644 --- a/idea/idea-analysis/src/org/jetbrains/jet/plugin/quickfix/KotlinSuppressIntentionAction.kt +++ b/idea/idea-analysis/src/org/jetbrains/jet/plugin/quickfix/KotlinSuppressIntentionAction.kt @@ -21,7 +21,7 @@ import com.intellij.openapi.project.Project import com.intellij.psi.PsiElement import org.jetbrains.kotlin.diagnostics.DiagnosticFactory import org.jetbrains.kotlin.psi.* -import org.jetbrains.jet.plugin.JetBundle +import org.jetbrains.kotlin.plugin.JetBundle import org.jetbrains.kotlin.resolve.BindingContext import org.jetbrains.kotlin.builtins.KotlinBuiltIns import com.intellij.codeInspection.SuppressIntentionAction diff --git a/idea/idea-analysis/src/org/jetbrains/jet/plugin/JetBundle.java b/idea/idea-analysis/src/org/jetbrains/kotlin/plugin/JetBundle.java similarity index 66% rename from idea/idea-analysis/src/org/jetbrains/jet/plugin/JetBundle.java rename to idea/idea-analysis/src/org/jetbrains/kotlin/plugin/JetBundle.java index 03f19a89c40..26de55c8e0f 100644 --- a/idea/idea-analysis/src/org/jetbrains/jet/plugin/JetBundle.java +++ b/idea/idea-analysis/src/org/jetbrains/kotlin/plugin/JetBundle.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2013 JetBrains s.r.o. + * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.jetbrains.jet.plugin; +package org.jetbrains.kotlin.plugin; import com.intellij.CommonBundle; import org.jetbrains.annotations.NonNls; @@ -29,23 +29,23 @@ public class JetBundle { private static Reference ourBundle; @NonNls - private static final String BUNDLE = "org.jetbrains.jet.plugin.JetBundle"; + private static final String BUNDLE = "org.jetbrains.kotlin.plugin.JetBundle"; private JetBundle() { } @NotNull - public static String message(@NonNls @PropertyKey(resourceBundle = BUNDLE)String key, Object... params) { - return CommonBundle.message(getBundle(), key, params); + public static String message(@NonNls @PropertyKey(resourceBundle = BUNDLE) String key, Object... params) { + return CommonBundle.message(getBundle(), key, params); } private static ResourceBundle getBundle() { - ResourceBundle bundle = null; - if (ourBundle != null) bundle = ourBundle.get(); - if (bundle == null) { - bundle = ResourceBundle.getBundle(BUNDLE); - ourBundle = new SoftReference(bundle); - } - return bundle; + ResourceBundle bundle = null; + if (ourBundle != null) bundle = ourBundle.get(); + if (bundle == null) { + bundle = ResourceBundle.getBundle(BUNDLE); + ourBundle = new SoftReference(bundle); + } + return bundle; } } diff --git a/idea/idea-analysis/src/org/jetbrains/jet/plugin/JetBundle.properties b/idea/idea-analysis/src/org/jetbrains/kotlin/plugin/JetBundle.properties similarity index 100% rename from idea/idea-analysis/src/org/jetbrains/jet/plugin/JetBundle.properties rename to idea/idea-analysis/src/org/jetbrains/kotlin/plugin/JetBundle.properties diff --git a/idea/resources/liveTemplates/Kotlin.xml b/idea/resources/liveTemplates/Kotlin.xml index f5f8feb7363..7c921c8f24c 100644 --- a/idea/resources/liveTemplates/Kotlin.xml +++ b/idea/resources/liveTemplates/Kotlin.xml @@ -1,6 +1,6 @@ - - - - - - - - - - - - - - - -