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

Method cmdDelete

src/main/java/PrivacyLists/PrivacySelect.java:189–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187 }
188
189 public void cmdDelete() {
190 PrivacyListItem pl = (PrivacyListItem) getFocusedObject();
191 if ((pl == null) || (pl.list.name == null))
192 return;
193 pl.list.deleteList();
194 getLists();
195 }
196
197 public void keyClear() {
198 String name = getFocusedObject().toString();

Callers 1

yesMethod · 0.95

Calls 3

getListsMethod · 0.95
getFocusedObjectMethod · 0.80
deleteListMethod · 0.80

Tested by

no test coverage detected