Administrator 2 tahun lalu
induk
melakukan
8c20cd3c27
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      src/main/java/com/xiesx/fastboot/utils/CopyUtils.java

+ 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);