Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Bas Leijdekkers
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Eugene Vigdorchik
    6 years ago (17 Aug 2005 16:18)
  • Updated by   root
    2 years ago (17 Jan 2010 20:22)
  • Jira: IDEADEV-2275
    (history, comments)
 
IDEA-29928 IG: replace concat with chained append() call bug
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
<code>
void foo(int i) {
String s = new StringBuilder().append(i + i + " a '").toString();
}
</code>

Invoking a fix results in:

void foo(int i) {
String s = new StringBuilder().append(i).append(i).append(" a '").toString();
}

which is clearly wrong.

Issue was resolved
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments