Skip to content
This repository was archived by the owner on Oct 4, 2018. It is now read-only.

Commit bbf65c1

Browse files
committed
Update README.md
1 parent a661e43 commit bbf65c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ While all this isn't exactly rocket science, it is complex enough to add quite a
5050
This library will hide all the complexities of deep object comparison behind one line of code:
5151

5252
```java
53-
Node root = ObjectDifferFactory.getInstance().compare(workingObject, baseObject);
53+
Node root = ObjectDifferBuilder.buildDefault().compare(workingObject, baseObject);
5454
```
5555

5656
This generates a tree structure of the given object type and lets you traverse its nodes via visitors. Each node represents one property (or collection item) of the underlying object and tells you exactly if and how the value differs from the base version. It also provides accessors to read, write and remove the value from or to any given instance. This way, all you need to worry about is **how to treat** changes and **not how to find** them.

0 commit comments

Comments
 (0)