結果 : remove consecutive repeated characters from string java