Rename: Fix spelling mistake

This commit is contained in:
Alexey Sedunov
2013-06-21 16:48:37 +04:00
parent d019c23395
commit 8f7d623682
3 changed files with 22 additions and 22 deletions
@@ -23,16 +23,16 @@ public class KotlinUnwrapDescriptor extends UnwrapDescriptorBase {
@Override
protected Unwrapper[] createUnwrappers() {
return new Unwrapper[] {
new KoitlinUnwrappers.KotlinExpressionRemover("remove.expression"),
new KoitlinUnwrappers.KotlinThenUnwrapper("unwrap.expression"),
new KoitlinUnwrappers.KotlinElseRemover("remove.else"),
new KoitlinUnwrappers.KotlinElseUnwrapper("unwrap.else"),
new KoitlinUnwrappers.KotlinLoopUnwrapper("unwrap.expression"),
new KoitlinUnwrappers.KotlinTryUnwrapper("unwrap.expression"),
new KoitlinUnwrappers.KotlinCatchUnwrapper("unwrap.expression"),
new KoitlinUnwrappers.KotlinCatchRemover("remove.expression"),
new KoitlinUnwrappers.KotlinFinallyUnwrapper("unwrap.expression"),
new KoitlinUnwrappers.KotlinFinallyRemover("remove.expression"),
new KotlinUnwrappers.KotlinExpressionRemover("remove.expression"),
new KotlinUnwrappers.KotlinThenUnwrapper("unwrap.expression"),
new KotlinUnwrappers.KotlinElseRemover("remove.else"),
new KotlinUnwrappers.KotlinElseUnwrapper("unwrap.else"),
new KotlinUnwrappers.KotlinLoopUnwrapper("unwrap.expression"),
new KotlinUnwrappers.KotlinTryUnwrapper("unwrap.expression"),
new KotlinUnwrappers.KotlinCatchUnwrapper("unwrap.expression"),
new KotlinUnwrappers.KotlinCatchRemover("remove.expression"),
new KotlinUnwrappers.KotlinFinallyUnwrapper("unwrap.expression"),
new KotlinUnwrappers.KotlinFinallyRemover("remove.expression"),
new KotlinLambdaUnwrapper("unwrap.expression"),
};
}
@@ -22,8 +22,8 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.lang.psi.*;
public class KoitlinUnwrappers {
private KoitlinUnwrappers() {
public class KotlinUnwrappers {
private KotlinUnwrappers() {
}
public static class KotlinExpressionRemover extends KotlinRemover {
@@ -31,43 +31,43 @@ import java.util.List;
public abstract class AbstractUnwrapRemoveTest extends LightCodeInsightTestCase {
public void doTestExpressionRemover(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinExpressionRemover.class);
doTest(path, KotlinUnwrappers.KotlinExpressionRemover.class);
}
public void doTestThenUnwrapper(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinThenUnwrapper.class);
doTest(path, KotlinUnwrappers.KotlinThenUnwrapper.class);
}
public void doTestElseUnwrapper(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinElseUnwrapper.class);
doTest(path, KotlinUnwrappers.KotlinElseUnwrapper.class);
}
public void doTestElseRemover(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinElseRemover.class);
doTest(path, KotlinUnwrappers.KotlinElseRemover.class);
}
public void doTestLoopUnwrapper(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinLoopUnwrapper.class);
doTest(path, KotlinUnwrappers.KotlinLoopUnwrapper.class);
}
public void doTestTryUnwrapper(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinTryUnwrapper.class);
doTest(path, KotlinUnwrappers.KotlinTryUnwrapper.class);
}
public void doTestCatchUnwrapper(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinCatchUnwrapper.class);
doTest(path, KotlinUnwrappers.KotlinCatchUnwrapper.class);
}
public void doTestCatchRemover(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinCatchRemover.class);
doTest(path, KotlinUnwrappers.KotlinCatchRemover.class);
}
public void doTestFinallyUnwrapper(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinFinallyUnwrapper.class);
doTest(path, KotlinUnwrappers.KotlinFinallyUnwrapper.class);
}
public void doTestFinallyRemover(@NotNull String path) throws Exception {
doTest(path, KoitlinUnwrappers.KotlinFinallyRemover.class);
doTest(path, KotlinUnwrappers.KotlinFinallyRemover.class);
}
public void doTestLambdaUnwrapper(@NotNull String path) throws Exception {