(String msg, int type)
| 59 | } |
| 60 | |
| 61 | public void add(String msg, int type) { |
| 62 | try { |
| 63 | if (enabled) { |
| 64 | Msg stanza=new Msg(type, "local", null, msg); |
| 65 | stanza.itemCollapsed=true; |
| 66 | stanzas.addElement(stanza); |
| 67 | } |
| 68 | } catch (Exception e) {} |
| 69 | } |
| 70 | |
| 71 | public int size(){ |
| 72 | return stanzas.size(); |
no test coverage detected