@Nullable
authorDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Tue, 10 Jan 2012 09:56:47 +0000 (13:56 +0400)
committerDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Tue, 10 Jan 2012 11:51:25 +0000 (15:51 +0400)
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);