Commit 187c4d72 authored by Phillip Webb's avatar Phillip Webb

Merge branch '1.5.x'

parents ef49c029 604ec075
...@@ -8,6 +8,10 @@ case "`uname`" in ...@@ -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 { ...@@ -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
......
/* /*
* 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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment