@Nullable
[idea/community.git] / platform / util / src / com / intellij / openapi / ui / Splitter.java
index a37599ca843dfd72c96e742474998cdb8f608f43..25933d3f5490b7c7ddd327964577dad4d68dd6ea 100644 (file)
@@ -407,7 +407,7 @@ public class Splitter extends JPanel {
    *
    * @param component
    */
-  public void setFirstComponent(JComponent component) {
+  public void setFirstComponent(@Nullable JComponent component) {
     if (myFirstComponent != component) {
       if (myFirstComponent != null) {
         remove(myFirstComponent);