MCPcopy Create free account
hub / github.com/akeranen/the-one / outputSetting

Method outputSetting

core/Settings.java:302–310  ·  view source on GitHub ↗

Writes the given setting string to the settings output (if any) @param setting The string to write

(String setting)

Source from the content-addressed store, hash-verified

300 * @param setting The string to write
301 */
302 private static void outputSetting(String setting) {
303 if (out != null && !writtenSettings.contains(setting)) {
304 if (writtenSettings.size() == 0) {
305 out.println("# Settings for run " + (runIndex + 1));
306 }
307 out.println(setting);
308 writtenSettings.add(setting);
309 }
310 }
311
312 /**
313 * Returns true if a setting with defined name (in the current namespace

Callers 1

getSettingMethod · 0.95

Calls 2

containsMethod · 0.80
addMethod · 0.80

Tested by

no test coverage detected