fix bug related to logger in context
This commit is contained in:
parent
eb750c6bf0
commit
89732b4512
|
@ -126,7 +126,9 @@ public class VersionConvertorContext<T> {
|
|||
*/
|
||||
public T getVersionConvertor() {
|
||||
T result = threadLocalVersionConverter.get();
|
||||
if (result != null && logger != null) {
|
||||
logger.debug(result.toString());
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue