Merge pull request #3857 from taihelsetw/master

fix bug while customize WebAppStat
This commit is contained in:
温绍锦
2020-10-05 14:02:50 +08:00
committed by GitHub
@@ -82,7 +82,7 @@ public class WebAppStatUtils {
try {
Method method = webStat.getClass().getMethod("getSessionStatData", String.class);
Object obj = method.invoke(webStat);
Object obj = method.invoke(webStat, sessionId);
return (Map<String, Object>) obj;
} catch (Exception e) {
LOG.error("getSessionStatData error", e);
@@ -98,7 +98,7 @@ public class WebAppStatUtils {
try {
Method method = webStat.getClass().getMethod("getURIStatData", String.class);
Object obj = method.invoke(webStat);
Object obj = method.invoke(webStat, uri);
return (Map<String, Object>) obj;
} catch (Exception e) {
LOG.error("getURIStatData error", e);