helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [12/50] [abbrv] helix git commit: Fix the java 8 issue.
Date Thu, 22 Jun 2017 22:57:31 GMT
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/master
Commit: 4bac1232ed97735ce761fd362651b66cd06ebaf2
Parents: befcc65
Author: Lei Xia <lxia@linkedin.com>
Authored: Thu Feb 9 13:26:18 2017 -0800
Committer: Lei Xia <lxia@linkedin.com>
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) {


Mime
View raw message