diff --git a/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java b/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java index 95ffd42bbbb1..b93c6774ced0 100644 --- a/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java +++ b/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java @@ -11,6 +11,7 @@ import com.intellij.ui.components.JBLabel; import com.intellij.uiDesigner.core.GridLayoutManager; import com.intellij.util.ui.UIUtil; import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; import javax.swing.*; import java.awt.*; @@ -35,7 +36,7 @@ public class CCCreateAnswerPlaceholderPanel { private List myHints = new ArrayList<>(); private int myShownHintNumber = 0; - public CCCreateAnswerPlaceholderPanel(@NotNull String placeholderText, @NotNull List hints) { + public CCCreateAnswerPlaceholderPanel(@Nullable String placeholderText, @NotNull List hints) { if (hints.isEmpty()) { myHints.add(HINT_PLACEHOLDER); }