Merge branch 'daywalker/cmake_option_sorting'
authorVasily Pisar <vasily.pisar@jetbrains.com>
Thu, 29 Oct 2015 15:23:15 +0000 (18:23 +0300)
committerVasily Pisar <vasily.pisar@jetbrains.com>
Thu, 29 Oct 2015 15:23:15 +0000 (18:23 +0300)
platform/lang-api/src/com/intellij/psi/codeStyle/presentation/CodeStyleSettingPresentation.java

index b26c8df07a5b3f4028cdaeb6a16f380fa3446c2b..4d65bd83f49f62553dce346161e88b12d7b15cda 100644 (file)
@@ -18,15 +18,15 @@ package com.intellij.psi.codeStyle.presentation;
 import com.intellij.openapi.application.ApplicationBundle;
 import com.intellij.psi.codeStyle.LanguageCodeStyleSettingsProvider;
 import com.intellij.util.containers.ContainerUtil;
-import com.intellij.util.containers.ContainerUtil.ImmutableMapBuilder;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
-import static com.intellij.psi.codeStyle.CodeStyleSettingsCustomizable.*;
 
 import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 
+import static com.intellij.psi.codeStyle.CodeStyleSettingsCustomizable.*;
+
 /**
  * @author Roman.Shein
  * @since 15.09.2015.
@@ -231,14 +231,14 @@ public class CodeStyleSettingPresentation {
       new CodeStyleSettingPresentation("SPACE_WITHIN_EMPTY_ARRAY_INITIALIZER_BRACES",
                                        ApplicationBundle.message("checkbox.spaces.within.empty.array.initializer.braces")),
       new CodeStyleSettingPresentation("SPACE_WITHIN_PARENTHESES", ApplicationBundle.message("checkbox.spaces.within.parentheses")),
+      new CodeStyleSettingPresentation("SPACE_WITHIN_METHOD_PARENTHESES",
+                                       ApplicationBundle.message("checkbox.spaces.checkbox.spaces.method.declaration.parentheses")),
+      new CodeStyleSettingPresentation("SPACE_WITHIN_EMPTY_METHOD_PARENTHESES", 
+                                       ApplicationBundle.message("checkbox.spaces.checkbox.spaces.empty.method.declaration.parentheses")),
       new CodeStyleSettingPresentation("SPACE_WITHIN_METHOD_CALL_PARENTHESES",
                                        ApplicationBundle.message("checkbox.spaces.checkbox.spaces.method.call.parentheses")),
       new CodeStyleSettingPresentation("SPACE_WITHIN_EMPTY_METHOD_CALL_PARENTHESES",
                                        ApplicationBundle.message("checkbox.spaces.checkbox.spaces.empty.method.call.parentheses")),
-      new CodeStyleSettingPresentation("SPACE_WITHIN_METHOD_PARENTHESES",
-                                       ApplicationBundle.message("checkbox.spaces.checkbox.spaces.method.declaration.parentheses")),
-      new CodeStyleSettingPresentation("SPACE_WITHIN_EMPTY_METHOD_PARENTHESES", ApplicationBundle
-        .message("checkbox.spaces.checkbox.spaces.empty.method.declaration.parentheses")),
       new CodeStyleSettingPresentation("SPACE_WITHIN_IF_PARENTHESES", ApplicationBundle.message("checkbox.spaces.if.parentheses")),
       new CodeStyleSettingPresentation("SPACE_WITHIN_FOR_PARENTHESES", ApplicationBundle.message("checkbox.spaces.for.parentheses")),
       new CodeStyleSettingPresentation("SPACE_WITHIN_WHILE_PARENTHESES",