MCPcopy Create free account
hub / github.com/PCGen/pcgen / getSafeStringFor

Method getSafeStringFor

code/src/java/pcgen/core/PlayerCharacter.java:7400–7408  ·  view source on GitHub ↗

Gets a 'safe' String representation @param key @return a 'safe' String

(PCStringKey key)

Source from the content-addressed store, hash-verified

7398 * @return a 'safe' String
7399 */
7400 public String getSafeStringFor(PCStringKey key)
7401 {
7402 String s = factFacet.get(id, key);
7403 if (s == null)
7404 {
7405 s = Constants.EMPTY_STRING;
7406 }
7407 return s;
7408 }
7409
7410 /**
7411 * Sets if ADD: level abilities should be processed when incrementing a

Callers 15

testRandomizeMethod · 0.95
getFileNameMethod · 0.95
getNameMethod · 0.95
getTokenMethod · 0.45
getTokenMethod · 0.45
getTokenMethod · 0.45
getTokenMethod · 0.45
getTokenMethod · 0.45
getTokenMethod · 0.45
getTokenMethod · 0.45
passesMethod · 0.45

Calls 1

getMethod · 0.65

Tested by 3

testRandomizeMethod · 0.76
passesMethod · 0.36
passesMethod · 0.36