A simple line of code:
String thing = "Something";
thing += " something else" + " and more.";
IntelliJ IDEA offers to change this line into 4 other ways to accomplish the same result: mcdvoice
Replace += with =
Why? What is so wrong with +=?
Can anyone explain this please? Thanks.