Ver código fonte

Include base classes in eventbus debug output.

Change-Id: Ia38d07c944c77b32ec111003b5271efc4256b6b2
Reviewed-on: http://gerrit.dmdirc.com/3485
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
changes/85/3485/2
Chris Smith 10 anos atrás
pai
commit
0dad00bcb3

+ 1
- 1
src/com/dmdirc/addons/debug/commands/EventBusViewer.java Ver arquivo

138
                     .append(event.getClass().getSimpleName())
138
                     .append(event.getClass().getSimpleName())
139
                     .append(Styliser.CODE_BOLD);
139
                     .append(Styliser.CODE_BOLD);
140
 
140
 
141
-            for (Method method : event.getClass().getDeclaredMethods()) {
141
+            for (Method method : event.getClass().getMethods()) {
142
                 if (method.getName().startsWith("get") && method.getParameterCount() == 0) {
142
                 if (method.getName().startsWith("get") && method.getParameterCount() == 0) {
143
                     try {
143
                     try {
144
                         output.append(' ')
144
                         output.append(' ')

Carregando…
Cancelar
Salvar