-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
在DefaultJsonDifference 里面
public JsonCompareResult detectDiff(JsonDiff expect, JsonDiff actual) { JsonNeat<? extends JsonDiff> jsonNeat = RunTimeDataFactory.getOptionInstance().getJsonNeatFactory().generate(new TravelPath(), expect, actual); if (jsonNeat == null) { throw new JsonDiffException("Unable to find JsonNeat"); } else { JsonCompareResult result = jsonNeat.diff(); // 上面抛异常了,这里不一定会执行到了,导致threadLocal 不释放配置信息 RunTimeDataFactory.clearOptionInstance(); return result; } }
Metadata
Metadata
Assignees
Labels
No labels