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

Method generateList

src/main/java/PrivacyLists/PrivacyList.java:51–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 }
50
51 public void generateList() {
52 int index = 0;
53 JabberDataBlock list0 = listBlock();
54
55 for (Enumeration e = rules.elements(); e.hasMoreElements();) {
56 PrivacyItem item = (PrivacyItem) e.nextElement();
57 item.order = index++;
58 list0.addChild( item.constructBlock() );
59 }
60
61 privacyListRq(true, list0, "storelst");
62 }
63
64 private JabberDataBlock listBlock() {
65 JabberDataBlock list0=new JabberDataBlock("list");

Callers 1

menuActionMethod · 0.80

Calls 5

listBlockMethod · 0.95
addChildMethod · 0.95
constructBlockMethod · 0.95
privacyListRqMethod · 0.95
elementsMethod · 0.80

Tested by

no test coverage detected