commit | 4e9816eb67b954e9a1999993a87f6f0f62cd70ed | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Sep 04 00:55:55 2019 -0400 |
committer | Chih-hung Hsieh <chh@google.com> | Wed Sep 04 17:17:57 2019 +0000 |
tree | a2e31655798a2d09659ec6624568a0dce2fa15a7 | |
parent | a4fe26f494ca77e93b58478e322f6dbbc99f6f22 [diff] |
Suppress warnings with suggested coding patterns. * Use computeIfAbsent instead of check and put into a map. * Use Ascii.equalsIgnoreCase instead of s.equalsInoreCase. * Declare private Util() to disallow instance. Change-Id: I4d09ccf567b461207d7a27506e028e17a4319bfd