mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Correct nullability contract
This commit is contained in:
+2
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user