#831 - Polishing.

This commit is contained in:
Greg Turnquist
2019-03-11 17:16:01 -05:00
parent bdd602aa74
commit 520fdc8d91
10 changed files with 15 additions and 13 deletions

View File

@@ -242,8 +242,9 @@ public class Link implements Serializable {
String name = httpMethod.toString().toLowerCase();
if (inputType.resolve() != null) {
name += inputType.resolve().getSimpleName();
Class<?> resolvedInputType = inputType.resolve();
if (resolvedInputType != null) {
name += resolvedInputType.getSimpleName();
}
return andAffordance(name, httpMethod, inputType, queryMethodParameters, outputType);