From 9dfc9406b7cee7285d22c6e5cf38ef31ed903fe1 Mon Sep 17 00:00:00 2001 From: "Denis.Zhdanov" Date: Mon, 20 Aug 2012 19:33:21 +0400 Subject: [PATCH] IDEA-19061 Integrate the Rearranger-plugin into core-IDE Correct nullability contract --- .../codeStyle/arrangement/ArrangementConfigUtilTest.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/java-tests/testSrc/com/intellij/application/options/codeStyle/arrangement/ArrangementConfigUtilTest.groovy b/java/java-tests/testSrc/com/intellij/application/options/codeStyle/arrangement/ArrangementConfigUtilTest.groovy index 65e54b57358e..8e0cc861c7bd 100644 --- a/java/java-tests/testSrc/com/intellij/application/options/codeStyle/arrangement/ArrangementConfigUtilTest.groovy +++ b/java/java-tests/testSrc/com/intellij/application/options/codeStyle/arrangement/ArrangementConfigUtilTest.groovy @@ -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 }