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

Method createBlock

src/main/java/IE/Accounts.java:179–187  ·  view source on GitHub ↗
(String needle, String value)

Source from the content-addressed store, hash-verified

177 }
178
179 private String createBlock(String needle, String value) {
180 StringBuffer block = new StringBuffer("<").append(needle).append('>');
181 if (value != null) {
182 block.append(value);
183 }
184 block.append("</").append(needle).append('>');
185
186 return block.toString();
187 }
188
189 public final void exportData() {
190 StringBuffer body = new StringBuffer();

Callers 1

exportDataMethod · 0.95

Calls 2

appendMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected