ensure processor is initialized when getting type
This commit is contained in:
@@ -32,7 +32,7 @@ public abstract class DelegateHandler<T> {
|
|||||||
|
|
||||||
public Class<?> type() {
|
public Class<?> type() {
|
||||||
String name = source instanceof String ? (String) source
|
String name = source instanceof String ? (String) source
|
||||||
: processor.getName(source);
|
: processor().getName(source);
|
||||||
return (Class<?>) processor().getInputType(name);
|
return (Class<?>) processor().getInputType(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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");
|
* 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user