Skip to content

Commit 941e4a9

Browse files
committed
Java:APIJSONBoot 删除 UnitAuto 单元测试中多余的 Context 配置代码
1 parent 9229810 commit 941e4a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/boot/DemoApplication.java

-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ public JSONObject parseJSON(String type, Object value) {
174174
if (value instanceof ApplicationContext
175175
|| value instanceof Context
176176
|| value instanceof org.apache.catalina.Context
177-
|| value instanceof ch.qos.logback.core.Context
178177
) {
179178
value = value.toString();
180179
}
@@ -190,7 +189,6 @@ public boolean apply(Object object, String name, Object value) {
190189
if (value instanceof ApplicationContext
191190
|| value instanceof Context
192191
|| value instanceof org.apache.catalina.Context
193-
|| value instanceof ch.qos.logback.core.Context
194192
) {
195193
return false;
196194
}

0 commit comments

Comments
 (0)