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.new...@gmail.com>
Authored: Thu Oct 10 12:05:14 2013 -0400
Committer: Eric Newton <eric.new...@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);

Reply via email to