From 52249bc3aa53158e0bc7e79a873ac581b033f0aa Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Fri, 22 Jan 2010 21:28:13 +0000 Subject: [PATCH] HBASE-2144 Now does \x20 for spaces git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@902281 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + src/java/org/apache/hadoop/hbase/util/Bytes.java | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index d76d1d1c4f4..ff3a4441673 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -190,6 +190,7 @@ Release 0.21.0 - Unreleased HBASE-2156 HBASE-2037 broke Scan - only a test for trunk HBASE-2057 Cluster won't stop (Gary Helmling and JD via JD) HBASE-2160 Can't put with ts in shell + HBASE-2144 Now does \x20 for spaces IMPROVEMENTS HBASE-1760 Cleanup TODOs in HTable diff --git a/src/java/org/apache/hadoop/hbase/util/Bytes.java b/src/java/org/apache/hadoop/hbase/util/Bytes.java index d63416d18ed..48bade9eb8f 100644 --- a/src/java/org/apache/hadoop/hbase/util/Bytes.java +++ b/src/java/org/apache/hadoop/hbase/util/Bytes.java @@ -293,6 +293,11 @@ public class Bytes { || ch == '_' || ch == '-' || ch == ':' + || ch == ' ' + || ch == '<' + || ch == '>' + || ch == '=' + || ch == '/' || ch == '.') { result.append(first.charAt(i)); } else {