diff --git a/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java b/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java index f9df4e325dee..75cb4de7af74 100644 --- a/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java +++ b/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java @@ -76,7 +76,7 @@ import java.util.Set; public abstract class DialogWrapper { private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.ui.DialogWrapper"); - public static enum IdeModalityType { + public enum IdeModalityType { IDE, PROJECT, MODELESS; @@ -839,7 +839,7 @@ public abstract class DialogWrapper { /** * Dispose the wrapped and releases all resources allocated be the wrapper to help - * more effecient garbage collection. You should never invoke this method twice or + * more efficient garbage collection. You should never invoke this method twice or * invoke any method of the wrapper after invocation of dispose. * * @throws IllegalStateException if the dialog is disposed not on the event dispatch thread