This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit 46675187b8d141cacaa370e6ddbd8f7d4f8d9c97 Author: Josh Tynjala <[email protected]> AuthorDate: Mon Sep 20 15:10:34 2021 -0700 formatter: fix some defaults that should have been true --- .../java/org/apache/royale/formatter/config/Configuration.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/formatter/src/main/java/org/apache/royale/formatter/config/Configuration.java b/formatter/src/main/java/org/apache/royale/formatter/config/Configuration.java index 2a7938a..216175d 100644 --- a/formatter/src/main/java/org/apache/royale/formatter/config/Configuration.java +++ b/formatter/src/main/java/org/apache/royale/formatter/config/Configuration.java @@ -242,7 +242,7 @@ public class Configuration { // 'open-brace-new-line' option // - private boolean placeOpenBraceOnNewLine = false; + private boolean placeOpenBraceOnNewLine = true; public boolean getPlaceOpenBraceOnNewLine() { @@ -260,7 +260,7 @@ public class Configuration { // 'insert-space-for-loop-semicolon' option // - private boolean insertSpaceAfterSemicolonInForStatements = false; + private boolean insertSpaceAfterSemicolonInForStatements = true; public boolean getInsertSpaceAfterSemicolonInForStatements() { @@ -278,7 +278,7 @@ public class Configuration { // 'insert-space-control-flow-keywords' option // - private boolean insertSpaceAfterKeywordsInControlFlowStatements = false; + private boolean insertSpaceAfterKeywordsInControlFlowStatements = true; public boolean getInsertSpaceAfterKeywordsInControlFlowStatements() { @@ -314,7 +314,7 @@ public class Configuration { // 'insert-space-binary-operators' option // - private boolean insertSpaceBeforeAndAfterBinaryOperators = false; + private boolean insertSpaceBeforeAndAfterBinaryOperators = true; public boolean getInsertSpaceBeforeAndAfterBinaryOperators() { @@ -332,7 +332,7 @@ public class Configuration { // 'insert-space-comma-delimiter' option // - private boolean insertSpaceAfterCommaDelimiter = false; + private boolean insertSpaceAfterCommaDelimiter = true; public boolean getInsertSpaceAfterCommaDelimiter() {
