Skip to content

Commit eaa3bd0

Browse files
committed
Apply eclipse formatting rules
1 parent 990213b commit eaa3bd0

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health/MongoHealthIndicatorTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
/**
3838
* Tests for {@link MongoHealthIndicator}.
39-
*
39+
*
4040
* @author Christian Dupuis
4141
*/
4242
public class MongoHealthIndicatorTests {

spring-boot-tools/spring-boot-gradle-plugin/src/main/groovy/org/springframework/boot/gradle/repackage/ProjectLibraries.java

+7-5
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,15 @@ private Set<GradleLibrary> getLibraries(String configurationName, LibraryScope s
115115
return libraries;
116116
}
117117

118-
private Set<GradleLibrary> getLibrariesForFileDependencies(Configuration configuration,
119-
LibraryScope scope) {
118+
private Set<GradleLibrary> getLibrariesForFileDependencies(
119+
Configuration configuration, LibraryScope scope) {
120120
Set<GradleLibrary> libraries = new LinkedHashSet<GradleLibrary>();
121121
for (Dependency dependency : configuration.getIncoming().getDependencies()) {
122122
if (dependency instanceof FileCollectionDependency) {
123123
FileCollectionDependency fileDependency = (FileCollectionDependency) dependency;
124124
for (File file : fileDependency.resolve()) {
125-
libraries.add(new GradleLibrary(fileDependency.getGroup(), file, scope));
125+
libraries.add(new GradleLibrary(fileDependency.getGroup(), file,
126+
scope));
126127
}
127128
}
128129
else if (dependency instanceof ProjectDependency) {
@@ -134,7 +135,8 @@ else if (dependency instanceof ProjectDependency) {
134135
return libraries;
135136
}
136137

137-
private Set<GradleLibrary> minus(Set<GradleLibrary> source, Set<GradleLibrary> toRemove) {
138+
private Set<GradleLibrary> minus(Set<GradleLibrary> source,
139+
Set<GradleLibrary> toRemove) {
138140
if (source == null || toRemove == null) {
139141
return source;
140142
}
@@ -191,7 +193,7 @@ public void setIncludeGroupName(boolean includeGroupName) {
191193
@Override
192194
public String getName() {
193195
String name = super.getName();
194-
if(this.includeGroupName && this.group != null) {
196+
if (this.includeGroupName && this.group != null) {
195197
name = this.group + "-" + name;
196198
}
197199
return name;

spring-boot/src/test/java/org/springframework/boot/bind/RelaxedPropertyResolverTests.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616

1717
package org.springframework.boot.bind;
1818

19-
import static org.hamcrest.Matchers.equalTo;
20-
import static org.hamcrest.Matchers.nullValue;
21-
import static org.junit.Assert.assertEquals;
22-
import static org.junit.Assert.assertThat;
23-
2419
import java.util.LinkedHashMap;
2520
import java.util.Map;
2621
import java.util.Properties;
@@ -34,6 +29,11 @@
3429
import org.springframework.core.env.PropertiesPropertySource;
3530
import org.springframework.core.env.StandardEnvironment;
3631

32+
import static org.hamcrest.Matchers.equalTo;
33+
import static org.hamcrest.Matchers.nullValue;
34+
import static org.junit.Assert.assertEquals;
35+
import static org.junit.Assert.assertThat;
36+
3737
/**
3838
* Tests for {@link RelaxedPropertyResolver}.
3939
*

0 commit comments

Comments
 (0)