Administrator před 2 roky
rodič
revize
8c20cd3c27

+ 5 - 0
src/main/java/com/xiesx/fastboot/utils/CopyUtils.java

@@ -16,6 +16,7 @@ import lombok.NonNull;
 
 public class CopyUtils {
 
+    @Deprecated
     public static String[] ignoreNullNames(@NonNull Object source) {
 
         final BeanWrapper beanWrapper = new BeanWrapperImpl(source);
@@ -47,6 +48,10 @@ public class CopyUtils {
         return noValuePropertySet.toArray(result);
     }
 
+    public static String[] nullNames(@NonNull Object source){
+        return ignoreNullNames(source);
+    }
+
     public static String[] notNullNames(@NonNull Object source) {
 
         final BeanWrapper beanWrapper = new BeanWrapperImpl(source);