StringBuffer "eating" some characters : I came across a strange problem recently. I am using `StringBuffer` to create a string and when I added some white spaces to the string, I realized that some characters were gone.

An example:

    StringBuffer sb = new StringBuffer();
    
    sb.append("000.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ");
    sb.append(filler(800));
    sb.append(filler(800));
    sb.append(filler(800));
    sb.append(filler(800));
    sb.append(filler(800));
        
    System.out.println(sb.toString());

`filler` is a function to create blank strings:

    public String filler(Integer size) {
    	return String.join("", Collections.nCopies(size, " "));
    }

When I run that, the last two zeros of my initial string simple disappears. Is that some kind of bug on StringBuffer class