Skip to content

Commit

Permalink
update API Sitemap data
Browse files Browse the repository at this point in the history
  • Loading branch information
‘niuerzhuang’ committed Sep 8, 2021
1 parent 3c26bbf commit 9fe53ba
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;

import static com.secnium.iast.core.report.ApiReport.sendReport;
Expand All @@ -26,9 +27,9 @@ public static void getWebApplicationContext(MethodEvent event, AtomicInteger inv
Object applicationContext = event.returnValue;
createClassLoader(applicationContext);
loadApplicationContext();
String invoke = null;
Map<String, Object> invoke = null;
try {
invoke = (String) getAPI.invoke(null, applicationContext);
invoke = (Map<String, Object>) getAPI.invoke(null, applicationContext);
sendReport(invoke);
} catch (IllegalAccessException e) {
e.printStackTrace();
Expand Down

0 comments on commit 9fe53ba

Please sign in to comment.