diff --git a/java/java-impl/src/com/intellij/psi/codeStyle/JavaCodeStyleSettings.java b/java/java-impl/src/com/intellij/psi/codeStyle/JavaCodeStyleSettings.java index ff66cb54fe64..b7315395a279 100644 --- a/java/java-impl/src/com/intellij/psi/codeStyle/JavaCodeStyleSettings.java +++ b/java/java-impl/src/com/intellij/psi/codeStyle/JavaCodeStyleSettings.java @@ -107,7 +107,7 @@ public class JavaCodeStyleSettings extends CustomCodeStyleSettings implements Im public boolean REPLACE_INSTANCEOF_AND_CAST = false; public boolean REPLACE_NULL_CHECK = true; - @Property(externalName = "replace_int_sum_lambda_with_method_ref") + @Property(externalName = "replace_sum_lambda_with_method_ref") public boolean REPLACE_SUM = true; public boolean SPACES_WITHIN_ANGLE_BRACKETS; diff --git a/java/java-tests/testData/codeStyle/jsonExport.j2ee.json b/java/java-tests/testData/codeStyle/jsonExport.j2ee.json index 1a922111f03e..c4c3a34ec79e 100644 --- a/java/java-tests/testData/codeStyle/jsonExport.j2ee.json +++ b/java/java-tests/testData/codeStyle/jsonExport.j2ee.json @@ -156,8 +156,8 @@ ], "repeat_synchronized": true, "replace_instanceof_and_cast": false, - "replace_int_sum_lambda_with_method_ref": true, "replace_null_check": true, + "replace_sum_lambda_with_method_ref": true, "resource_list_new_line_after_left_paren": false, "resource_list_right_paren_on_new_line": false, "resource_list_wrap": "off", diff --git a/java/java-tests/testData/codeStyle/jsonExport.json b/java/java-tests/testData/codeStyle/jsonExport.json index b842b512df5f..9a2be3a4abf0 100644 --- a/java/java-tests/testData/codeStyle/jsonExport.json +++ b/java/java-tests/testData/codeStyle/jsonExport.json @@ -146,8 +146,8 @@ ], "repeat_synchronized": true, "replace_instanceof_and_cast": false, - "replace_int_sum_lambda_with_method_ref": true, "replace_null_check": true, + "replace_sum_lambda_with_method_ref": true, "resource_list_new_line_after_left_paren": false, "resource_list_right_paren_on_new_line": false, "resource_list_wrap": "off",