MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / equalsTrim

Method equalsTrim

src/main/java/net/optifine/util/StrUtils.java:328–341  ·  view source on GitHub ↗
(String a, String b)

Source from the content-addressed store, hash-verified

326 }
327
328 public static boolean equalsTrim(String a, String b)
329 {
330 if (a != null)
331 {
332 a = a.trim();
333 }
334
335 if (b != null)
336 {
337 b = b.trim();
338 }
339
340 return equals(a, b);
341 }
342
343 public static boolean isEmpty(String string)
344 {

Callers

nothing calls this directly

Calls 2

equalsMethod · 0.95
trimMethod · 0.80

Tested by

no test coverage detected