Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Bas Leijdekkers
Subsystem
Code Analysis. Inspection
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Stephen Friedrich
    6 years ago (11 Aug 2005 13:31)
  • Updated by   root
    2 years ago (17 Jan 2010 20:22)
  • Jira: IDEADEV-2272
    (history, comments)
 
IDEA-29778 Quickfix for "unnecessary semicolon" eats comment
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Applying the quick fix in this code example removes the complete line:

import java.util.Random;

public class Test {
private void foo() {
final Random random = new Random();
if(random.nextDouble() > 0.99) {
; // It is very unlikely that we get here
}
}
}


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