Skip to content

Commit 9cc893c

Browse files
committed
Merge branch '1.1.x'
Conflicts: spring-boot/src/test/java/org/springframework/boot/bind/RelaxedPropertyResolverTests.java
2 parents ad8be26 + eaa3bd0 commit 9cc893c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,5 @@ public void subProperties() throws Exception {
173173
assertThat(subProperties.get("a.c"), equalTo((Object) "2"));
174174
assertThat(subProperties.get("a.d"), equalTo((Object) "3"));
175175
}
176+
176177
}

0 commit comments

Comments
 (0)