ensure processor is initialized when getting type

This commit is contained in:
markfisher
2017-05-05 09:44:27 -04:00
parent f6355df58d
commit ff78bfc438
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ public abstract class DelegateHandler<T> {
public Class<?> type() {
String name = source instanceof String ? (String) source
: processor.getName(source);
: processor().getName(source);
return (Class<?>) processor().getInputType(name);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2016-2017 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.