code: @Nonnull
      private static String leftpad(@Nonnull String s, int n) {
          return leftpad(s, n, ' ');
      }
docs: Left-pads a String with spaces so it is length <code>n</code>.  If the String
  is already at least length n, no padding is done.