MCPcopy Create free account
hub / github.com/Neop/mudmap2 / getName

Method getName

src/main/java/mudmap2/backend/World.java:128–134  ·  view source on GitHub ↗

Gets the world worldname @return world worldname

()

Source from the content-addressed store, hash-verified

126 * @return world worldname
127 */
128 public String getName(){
129 if(worldname == null){
130 return "unnamed";
131 } else {
132 return worldname;
133 }
134 }
135
136 /**
137 * Sets the world worldname

Callers 9

testWorldMethod · 0.95
testWorld_1ArgMethod · 0.95
testGetNameMethod · 0.95
testSetNameMethod · 0.95
testGetNewWorldMethod · 0.95
testReadWriteFileMethod · 0.95
testReadWriteFileMethod · 0.95
saveMethod · 0.95
putPlaceholderMethod · 0.45

Calls

no outgoing calls

Tested by 7

testWorldMethod · 0.76
testWorld_1ArgMethod · 0.76
testGetNameMethod · 0.76
testSetNameMethod · 0.76
testGetNewWorldMethod · 0.76
testReadWriteFileMethod · 0.76
testReadWriteFileMethod · 0.76