diff --git a/spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring b/spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring index 0ba9c5d66f..21ba6a064b 100755 --- a/spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring +++ b/spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring @@ -8,6 +8,10 @@ case "`uname`" in cygwin=true ;; + MINGW*) + cygwin=true + ;; + Darwin*) darwin=true ;; diff --git a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java index a170a41d58..8da3b5e69b 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java +++ b/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 { 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 diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java index daaee412fa..c2eab5f49b 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java @@ -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.