mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -169,7 +169,7 @@ public class LambdaUtil {
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <T, P> BiConsumer<T, P> buildSetter(final Method setMethod) {
|
||||
final Class<?> returnType = setMethod.getReturnType();
|
||||
if(Void.class == returnType){
|
||||
if(Void.TYPE == returnType){
|
||||
return LambdaFactory.build(BiConsumer.class, setMethod);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user