cf18afe357
* Update plugins/commit-message-length-validator from branch 'master' to 315a11558913fa8f9c6d3b1723e45583b25afa1c - Prefer using Splitter to String.split String.split(String) has surprising behaviour [1]: String[] nothing = "".split(":"); // results in [""] String[] bunchOfNothing = ":".split(":"); // results in [] More examples: input | input.split(":") | Splitter.on(':').split(input) =======|===================|============================== "" | [""] | [""] ":" | [] | ["", ""] ":::" | [] | ["", "", "", ""] "a:::" | ["a"] | ["a", "", "", ""] ":::b" | ["", "", "", "b"] | ["", "", "", "b"] Tests and classes that are used by the GWT UI are not adapted. [1] http://konigsberg.blogspot.com/2009/11/final-thoughts-java-puzzler-splitting.html Change-Id: Ib9534727a9fe1840eecb86e4141ca3fe9d997936 Signed-off-by: Edwin Kempin <ekempin@google.com> |
||
---|---|---|
.. | ||
codemirror-editor@bac9b336a3 | ||
commit-message-length-validator@315a115589 | ||
download-commands@37219fe3fd | ||
hooks@337a1e8ebb | ||
replication@81a34e608c | ||
reviewnotes@467285664e | ||
singleusergroup@9e65c400d3 | ||
BUILD | ||
external_plugin_deps.bzl |