Merge branch '1.5.x'

pull/11848/merge
Phillip Webb 7 years ago
commit 187c4d728c

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

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

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

Loading…
Cancel
Save