MCPcopy Create free account
hub / github.com/FabricMC/Matcher / isValid

Method isValid

src/main/java/matcher/config/UidConfig.java:63–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 }
62
63 public boolean isValid() {
64 return !host.isEmpty()
65 && port > 0 && port <= 0xffff
66 && !user.isEmpty()
67 && !password.isEmpty()
68 && !project.isEmpty()
69 && !versionA.isEmpty()
70 && !versionB.isEmpty();
71 }
72
73 void save(Preferences prefs) {
74 if (!isValid()) return;

Callers 9

importMatchesMethod · 0.95
submitMatchesMethod · 0.95
saveMethod · 0.95
initMethod · 0.45
initMethod · 0.45
setupMethod · 0.45
setProjectConfigMethod · 0.45
setUidConfigMethod · 0.45
saveAsLastMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected