accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-1585 fix typo
Date Thu, 10 Oct 2013 16:04:54 GMT
Updated Branches:
  refs/heads/master 7f8c42d0f -> e79adf2ed


ACCUMULO-1585 fix typo


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/e79adf2e
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/e79adf2e
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/e79adf2e

Branch: refs/heads/master
Commit: e79adf2ed1c0b644963381f58bb1b0e7f750b845
Parents: 7f8c42d
Author: Eric Newton <eric.newton@gmail.com>
Authored: Thu Oct 10 12:05:14 2013 -0400
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Thu Oct 10 12:05:14 2013 -0400

----------------------------------------------------------------------
 core/src/main/java/org/apache/accumulo/core/util/AddressUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/e79adf2e/core/src/main/java/org/apache/accumulo/core/util/AddressUtil.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/util/AddressUtil.java b/core/src/main/java/org/apache/accumulo/core/util/AddressUtil.java
index 08d4368..e1e1dd4 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/AddressUtil.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/AddressUtil.java
@@ -22,7 +22,7 @@ public class AddressUtil {
 
 
   static public HostAndPort parseAddress(String address) throws NumberFormatException {
-    address = address.replace('+', '-');
+    address = address.replace('+', ':');
     HostAndPort hap = HostAndPort.fromString(address);
     if (!hap.hasPort())
       throw new IllegalArgumentException("Address was expected to contain port. address="
+ address);


Mime
View raw message