Update Compactador.java

It's better when you don't modify a string that cames by parameter.