Repository: helix Updated Branches: refs/heads/helix-0.6.x befcc65c2 -> 4bac1232e
Fix the java 8 issue. Project: http://git-wip-us.apache.org/repos/asf/helix/repo Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/4bac1232 Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/4bac1232 Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/4bac1232 Branch: refs/heads/helix-0.6.x Commit: 4bac1232ed97735ce761fd362651b66cd06ebaf2 Parents: befcc65 Author: Lei Xia <[email protected]> Authored: Thu Feb 9 13:26:18 2017 -0800 Committer: Lei Xia <[email protected]> Committed: Thu Feb 9 13:26:18 2017 -0800 ---------------------------------------------------------------------- helix-core/src/main/java/org/apache/helix/util/HelixUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/helix/blob/4bac1232/helix-core/src/main/java/org/apache/helix/util/HelixUtil.java ---------------------------------------------------------------------- diff --git a/helix-core/src/main/java/org/apache/helix/util/HelixUtil.java b/helix-core/src/main/java/org/apache/helix/util/HelixUtil.java index 4adf8ab..123806d 100644 --- a/helix-core/src/main/java/org/apache/helix/util/HelixUtil.java +++ b/helix-core/src/main/java/org/apache/helix/util/HelixUtil.java @@ -19,6 +19,7 @@ package org.apache.helix.util; * under the License. */ +import com.google.common.base.Joiner; import java.util.Arrays; import java.util.Collections; import java.util.List; @@ -72,7 +73,7 @@ public final class HelixUtil { } public static String serializeByComma(List<String> objects) { - return String.join(",", objects); + return Joiner.on(",").join(objects); } public static List<String> deserializeByComma(String object) {
