Skip to content

Commit f25469c

Browse files
committed
Update formatting with spring-javaformat 0.0.9
See gh-16421
1 parent cae6a82 commit f25469c

File tree

32 files changed

+106
-90
lines changed

32 files changed

+106
-90
lines changed

spring-boot-samples/spring-boot-sample-actuator-ui/src/test/java/sample/actuator/ui/SampleActuatorUiApplicationPortTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,8 +39,8 @@
3939
* @author Dave Syer
4040
*/
4141
@RunWith(SpringRunner.class)
42-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
43-
"management.port:0" })
42+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
43+
properties = { "management.port:0" })
4444
@DirtiesContext
4545
public class SampleActuatorUiApplicationPortTests {
4646

spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/InsecureManagementPortAndPathSampleActuatorApplicationTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -41,9 +41,9 @@
4141
* @author Dave Syer
4242
*/
4343
@RunWith(SpringRunner.class)
44-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
45-
"management.port=0", "management.context-path=/admin",
46-
"management.security.enabled=false" })
44+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
45+
properties = { "management.port=0", "management.context-path=/admin",
46+
"management.security.enabled=false" })
4747
@DirtiesContext
4848
public class InsecureManagementPortAndPathSampleActuatorApplicationTests {
4949

spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/InsecureManagementSampleActuatorApplicationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -40,8 +40,8 @@
4040
* @author Dave Syer
4141
*/
4242
@RunWith(SpringRunner.class)
43-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
44-
"management.security.enabled:false" })
43+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
44+
properties = { "management.security.enabled:false" })
4545
@DirtiesContext
4646
@ActiveProfiles("unsecure-management")
4747
public class InsecureManagementSampleActuatorApplicationTests {

spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/InsecureSampleActuatorApplicationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,8 +39,8 @@
3939
* @author Dave Syer
4040
*/
4141
@RunWith(SpringRunner.class)
42-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
43-
"security.basic.enabled:false" })
42+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
43+
properties = { "security.basic.enabled:false" })
4444
@DirtiesContext
4545
public class InsecureSampleActuatorApplicationTests {
4646

spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/ManagementAddressActuatorApplicationTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,9 +39,9 @@
3939
* @author Dave Syer
4040
*/
4141
@RunWith(SpringRunner.class)
42-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
43-
"management.port=0", "management.address=127.0.0.1",
44-
"management.context-path:/admin" })
42+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
43+
properties = { "management.port=0", "management.address=127.0.0.1",
44+
"management.context-path:/admin" })
4545
@DirtiesContext
4646
public class ManagementAddressActuatorApplicationTests {
4747

spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/ManagementPathSampleActuatorApplicationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -38,8 +38,8 @@
3838
* @author Dave Syer
3939
*/
4040
@RunWith(SpringRunner.class)
41-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
42-
"management.context_path=/admin" })
41+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
42+
properties = { "management.context_path=/admin" })
4343
@DirtiesContext
4444
public class ManagementPathSampleActuatorApplicationTests {
4545

spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/ManagementPortAndPathSampleActuatorApplicationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -41,8 +41,8 @@
4141
* @author Dave Syer
4242
*/
4343
@RunWith(SpringRunner.class)
44-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
45-
"management.port=0", "management.context-path=/admin" })
44+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
45+
properties = { "management.port=0", "management.context-path=/admin" })
4646
@DirtiesContext
4747
public class ManagementPortAndPathSampleActuatorApplicationTests {
4848

spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/ManagementPortSampleActuatorApplicationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -41,8 +41,8 @@
4141
* @author Dave Syer
4242
*/
4343
@RunWith(SpringRunner.class)
44-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
45-
"management.port=0" })
44+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
45+
properties = { "management.port=0" })
4646
@DirtiesContext
4747
public class ManagementPortSampleActuatorApplicationTests {
4848

spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/NoManagementSampleActuatorApplicationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,8 +39,8 @@
3939
* @author Dave Syer
4040
*/
4141
@RunWith(SpringRunner.class)
42-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
43-
"management.port=-1" })
42+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
43+
properties = { "management.port=-1" })
4444
@DirtiesContext
4545
public class NoManagementSampleActuatorApplicationTests {
4646

spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/NonSensitiveHealthTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2016 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,8 +36,8 @@
3636
* @author Phillip Webb
3737
*/
3838
@RunWith(SpringRunner.class)
39-
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
40-
"endpoints.health.sensitive=false" })
39+
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
40+
properties = { "endpoints.health.sensitive=false" })
4141
@DirtiesContext
4242
public class NonSensitiveHealthTests {
4343

0 commit comments

Comments
 (0)