hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Jiang <syuanjiang...@gmail.com>
Subject formatter.rb not respect width > 2 columns
Date Wed, 16 Sep 2015 16:50:05 GMT
It is interesting that in formatter.rb, if more than 2 columns, it would
not respect the width passed in.  Why is that?  I am thinking about change
it, but I'd like to know the reason behind it.

Or is it ok to keep this way, even the output is not ideal?

        if args.length == 1
          ...
        elsif args.length == 2
         ...
          end
        else
          # Print a space to set off multi-column rows
          print ' '
          first = true
          for e in args
            @out.print " " unless first
            first = false
            @out.print e
          end
         ...
        end

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message