wmde / Diff

䷂ Library for diffing, patching and representing differences between objects
BSD 3-Clause "New" or "Revised" License
200 stars 15 forks source link

Refactor ListDiffer #20

Closed thiemowmde closed 6 years ago

thiemowmde commented 9 years ago

This inlines a private method and arranges the code in a way that the deprecated logic comes first (the if...elseif part) and the non-deprecated logic last. Note that the constructor parameter is optional.

JeroenDeDauw commented 9 years ago

What made you make the order change?

thiemowmde commented 9 years ago

How should I know what order you are referring to? MODE_NATIVE and MODE_STRICT? That's the order how they are defined, the first one is 0, the later 1.