Browse Source

Merge branch '1.5.x'

pull/11848/merge
Phillip Webb 8 years ago
parent
commit
187c4d728c
  1. 4
      spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring
  2. 14
      spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java
  3. 2
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java

4
spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring

@ -8,6 +8,10 @@ case "`uname`" in @@ -8,6 +8,10 @@ case "`uname`" in
cygwin=true
;;
MINGW*)
cygwin=true
;;
Darwin*)
darwin=true
;;

14
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java

@ -192,14 +192,12 @@ class TypeUtils { @@ -192,14 +192,12 @@ class TypeUtils {
if (type.getTypeArguments().isEmpty()) {
return qualifiedName;
}
else {
StringBuilder name = new StringBuilder();
name.append(qualifiedName);
name.append("<").append(type.getTypeArguments().stream()
.map(TypeMirror::toString).collect(Collectors.joining(",")))
.append(">");
return name.toString();
}
StringBuilder name = new StringBuilder();
name.append(qualifiedName);
name.append("<").append(type.getTypeArguments().stream()
.map(TypeMirror::toString).collect(Collectors.joining(",")))
.append(">");
return name.toString();
}
@Override

2
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

Loading…
Cancel
Save