Skip to content

Commit d2a03f5

Browse files
committed
fix-to(params): 统一参数顺序
1 parent fb2e32e commit d2a03f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json-diff-core/src/main/java/me/codeleep/jsondiff/core/handle/object/ComplexObjectJsonNeat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected JsonCompareResult diff1() {
111111
JsonDiff actualDiffJson = actual.get(mappingKey.getActualKey());
112112
TravelPath nextTravelPath = new TravelPath(travelPath, mappingKey);
113113
// 判断类型, 根据类型去实例化JsonNeat。
114-
JsonNeat<? extends JsonDiff> jsonNeat = RunTimeDataFactory.getOptionInstance().getJsonNeatFactory().generate(actualDiffJson, expectDiffJson, nextTravelPath);
114+
JsonNeat<? extends JsonDiff> jsonNeat = RunTimeDataFactory.getOptionInstance().getJsonNeatFactory().generate(expectDiffJson, actualDiffJson, nextTravelPath);
115115
if (jsonNeat == null) {
116116
Defects defects = new Defects()
117117
.setActual(actualDiffJson)

0 commit comments

Comments
 (0)