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

Method getPropertyNamesString

core/Settings.java:440–451  ·  view source on GitHub ↗

Returns the setting name appended to namespace name(s) on a String (for error messages) @param name Name of the setting @return the setting name appended to namespace name(s) on a String

(String name)

Source from the content-addressed store, hash-verified

438 * @return the setting name appended to namespace name(s) on a String
439 */
440 private String getPropertyNamesString(String name) {
441 if (this.secondaryNamespace != null) {
442 return "'"+ this.secondaryNamespace + "." + name + "' nor '" +
443 this.namespace + "." + name + "'";
444 }
445 else if (this.namespace != null){
446 return "'" + this.namespace + "." + name + "'";
447 }
448 else {
449 return "'" + name + "'";
450 }
451 }
452
453 /**
454 * Returns a double-valued setting

Callers 1

getSettingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected