mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge pull request #3857 from taihelsetw/master
fix bug while customize WebAppStat
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user