xkbeancomparator 0.0.3 released

0. dependence dependency:

<dependency>  
  <groupId>com.github.xkzhangsan</groupId>    
  <artifactId>xkbeancomparator</artifactId>       
  <version>0.0.3</version>    
</dependency>    

1. Common use:

  • To compare modified objects generated change log;
  • Comparative modified part of the field, based on the field output log annotation.

2. The main features and usage categories:

  • The main class name: BeanComparator.java
  • The main methods are:
public static String compareBean(Object source, Object target)
public static CompareResult getCompareResult(Object source, Object target)

3. Updates

Optimized code:

bean property is complex type, skip process, do not throw an exception.

 

Guess you like

Origin www.oschina.net/news/112414/xkbeancomparator-0-0-3-released