MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / loadString

Method loadString

src/main/java/locale/SR.java:644–663  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

642 }
643
644 private static String loadString(String key) {
645 if (lang == null) {
646 loadLang();
647 }
648 String value = (String) lang.get(key);
649//#ifdef LANG_DEBUG
650//# if (value==null) {
651//# if (!lang.isEmpty()) {
652//# System.out.print("-----> Can't find local string for <");
653//# System.out.print(key);
654//# System.out.println("> <-----");
655//# }
656//# } else {
657//# System.out.print(key);
658//# System.out.print('\t');
659//# System.out.println(value);
660//# }
661//#endif
662 return (value == null) ? key : value;
663 }
664
665 public static String getPresence(String presenceName) {
666 if (presenceName.equals("online")) {

Callers 1

SRClass · 0.95

Calls 1

loadLangMethod · 0.95

Tested by

no test coverage detected