public static StringBuilder leftAlign(StringBuilder in, int len) {
        int sfx = len - in.length();
        if (sfx <= 0) {
            return in;
        }
        if (sfx > SPACES_LEN) {
            sfx = SPACES_LEN;
        }
        in.append(SPACES_CHARS, 0, sfx);
        return in;
    }
@Test
    public void testLeftAlign() {
        assertEquals("foo  ",
                JOrphanUtils.leftAlign(new StringBuilder("foo"), 5).toString());
        assertEquals("foo",
                JOrphanUtils.leftAlign(new StringBuilder("foo"), 2).toString());
        assertEquals("foo                                 ",
                JOrphanUtils.leftAlign(new StringBuilder("foo"), 39).toString());
    }