This commit is contained in:
Looly 2022-06-18 11:02:18 +08:00
parent 3697525b6a
commit 2d72e54deb
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ public class ObjUtil {
* @return 是否为null
*/
public static boolean isNotNull(final Object obj) {
return false == isNull(obj);
return null != obj;
}
/**

View File

@ -35,7 +35,7 @@ public class ConverterRegistryTest {
public static class CustomConverter implements Converter{
@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();
}
}