From ee235f06b5f29c64e08100f9b84864806d945636 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 6 Feb 2023 19:51:50 -0800 Subject: [PATCH] Wrapping --- .../src/test/resources/expected/complex.txt | 4 ++-- .../io/spring/javaformat/formatter/eclipse/formatter.prefs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-javaformat/spring-javaformat-formatter-tests/src/test/resources/expected/complex.txt b/spring-javaformat/spring-javaformat-formatter-tests/src/test/resources/expected/complex.txt index f0dc2fc9..229bcf19 100644 --- a/spring-javaformat/spring-javaformat-formatter-tests/src/test/resources/expected/complex.txt +++ b/spring-javaformat/spring-javaformat-formatter-tests/src/test/resources/expected/complex.txt @@ -557,8 +557,8 @@ public class SpringApplication { */ protected void postProcessApplicationContext(ConfigurableApplicationContext context) { if (this.beanNameGenerator != null) { - context.getBeanFactory().registerSingleton(AnnotationConfigUtils.CONFIGURATION_BEAN_NAME_GENERATOR, - this.beanNameGenerator); + context.getBeanFactory() + .registerSingleton(AnnotationConfigUtils.CONFIGURATION_BEAN_NAME_GENERATOR, this.beanNameGenerator); } if (this.resourceLoader != null) { if (context instanceof GenericApplicationContext) { diff --git a/spring-javaformat/spring-javaformat-formatter/src/main/resources/io/spring/javaformat/formatter/eclipse/formatter.prefs b/spring-javaformat/spring-javaformat-formatter/src/main/resources/io/spring/javaformat/formatter/eclipse/formatter.prefs index 5f3763da..b876ccde 100644 --- a/spring-javaformat/spring-javaformat-formatter/src/main/resources/io/spring/javaformat/formatter/eclipse/formatter.prefs +++ b/spring-javaformat/spring-javaformat-formatter/src/main/resources/io/spring/javaformat/formatter/eclipse/formatter.prefs @@ -30,7 +30,7 @@ core.formatter.alignment_for_parameters_in_constructor_declaration=16 core.formatter.alignment_for_parameters_in_method_declaration=16 core.formatter.alignment_for_relational_operator=0 core.formatter.alignment_for_resources_in_try=80 -core.formatter.alignment_for_selector_in_method_invocation=16 +core.formatter.alignment_for_selector_in_method_invocation=80 core.formatter.alignment_for_shift_operator=0 core.formatter.alignment_for_string_concatenation=16 core.formatter.alignment_for_superclass_in_type_declaration=16