IDEA-19061 Integrate the Rearranger-plugin into core-IDE

Correct nullability contract
This commit is contained in:
Denis.Zhdanov
2012-08-20 19:33:21 +04:00
parent 8e40d978c7
commit 9dfc9406b7
@@ -16,6 +16,7 @@
package com.intellij.application.options.codeStyle.arrangement
import org.jetbrains.annotations.NotNull
import org.jetbrains.annotations.Nullable
import org.junit.Test
import javax.swing.tree.DefaultMutableTreeNode
@@ -242,7 +243,7 @@ public class TreeNodeBuilder extends BuilderSupport {
result
}
@NotNull
@Nullable
DefaultMutableTreeNode getCurrentNode() {
getCurrent() as DefaultMutableTreeNode
}