Convert docs for repeat() to JavaDoc, change JavaDoc for padMessage() to be more useful.