mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/SchemaBrowserRightPanel.java
@@ -361,8 +361,7 @@
   */
  public boolean mustCheckUnsavedChanges()
  {
    return (schemaElementPanel != null) &&
    schemaElementPanel.mustCheckUnsavedChanges();
    return schemaElementPanel != null && schemaElementPanel.mustCheckUnsavedChanges();
  }
  /**
@@ -373,13 +372,10 @@
   */
  public UnsavedChangesDialog.Result checkUnsavedChanges()
  {
    if (schemaElementPanel == null)
    {
     return UnsavedChangesDialog.Result.DO_NOT_SAVE;
    }
    else
    if (schemaElementPanel != null)
    {
      return schemaElementPanel.checkUnsavedChanges();
    }
    return UnsavedChangesDialog.Result.DO_NOT_SAVE;
  }
}