switch(type) {
case CONFIRMED:
result = "connections";
break;
case INCOMING:
<BUG>result = "incomings";
</BUG>
break;
case OUTGOING:
<BUG>result = "outgoings";
</BUG>
break;

switch(type) {
case CONFIRMED:
result = "connections";
break;
case INCOMING:
result = "outgoings";
break;
case OUTGOING:
result = "incomings";
break;
