mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -202,7 +202,7 @@ public class ObjUtil {
|
|||||||
* @return 是否为null
|
* @return 是否为null
|
||||||
*/
|
*/
|
||||||
public static boolean isNotNull(final Object obj) {
|
public static boolean isNotNull(final Object obj) {
|
||||||
return false == isNull(obj);
|
return null != obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -35,7 +35,7 @@ public class ConverterRegistryTest {
|
|||||||
|
|
||||||
public static class CustomConverter implements Converter{
|
public static class CustomConverter implements Converter{
|
||||||
@Override
|
@Override
|
||||||
public Object convert(Type targetType, Object value) throws ConvertException {
|
public Object convert(final Type targetType, final Object value) throws ConvertException {
|
||||||
return "Custom: " + value.toString();
|
return "Custom: " + value.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user