MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / setIncoming

Method setIncoming

src/main/java/Client/Contact.java:314–329  ·  view source on GitHub ↗
(int state)

Source from the content-addressed store, hash-verified

312 }
313
314 public void setIncoming(int state) {
315 if (!cf.IQNotify && state == INC_VIEWING) {
316 return;
317 }
318
319 short i = 0;
320 switch (state) {
321 case INC_APPEARING:
322 i = RosterIcons.ICON_APPEARING_INDEX;
323 break;
324 case INC_VIEWING:
325 i = RosterIcons.ICON_VIEWING_INDEX;
326 break;
327 }
328 incomingState = i;
329 }
330
331 public int compare(IconTextElement right) {
332 Contact c = (Contact) right;

Callers 7

blockArrivedMethod · 0.95
blockArrivedMethod · 0.95
blockArrivedMethod · 0.95
blockArrivedMethod · 0.95
setStatusMethod · 0.95
focusToNextUnreadedMethod · 0.95
ContactMessageListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected