MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / cmdOk

Method cmdOk

src/main/java/Client/JuickConfig.java:55–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 }
54
55 public void cmdOk() {
56//#ifdef JUICK
57 if (juickContactsBox != null) {
58 setJuickJID(((Contact) sdata.roster.juickContacts.elementAt(juickContactsBox.getSelectedIndex())).jid.getBare(), true);
59 } else {
60 setJuickJID("", true);
61 }
62 sdata.roster.updateMainJuickContact();
63 destroyView();
64//#endif
65 }
66
67 public static String getJuickJID() {
68 if (records.isEmpty()) {

Callers

nothing calls this directly

Calls 5

setJuickJIDMethod · 0.95
getBareMethod · 0.80
getSelectedIndexMethod · 0.80
destroyViewMethod · 0.45

Tested by

no test coverage detected