diff --git a/CHANGES.txt b/CHANGES.txt index ceb43c23daf..286464ab266 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,7 @@ Release 0.18.1 - Unreleased BUG FIXES HBASE-891 HRS.validateValuesLength throws IOE, gets caught in the retries + HBASE-906 [shell] Truncates output Release 0.18.0 - September 21st, 2008 diff --git a/bin/Formatter.rb b/bin/Formatter.rb index 3af13d60a77..74436b8b3ba 100644 --- a/bin/Formatter.rb +++ b/bin/Formatter.rb @@ -84,11 +84,11 @@ module Formatter end def dump(str) - # Remove double-quotes added by 'dump'. if str.instance_of? Fixnum return end - return str.dump.slice(1, str.length) + # Remove double-quotes added by 'dump'. + return str.dump[1..-1] end def output(width, str)