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   Boaz Nahum
    4 years ago (14 Oct 2007 14:00)
  • Updated by   root
    2 years ago (17 Jan 2010 20:54)
  • Jira: IDEADEV-22585
    (history, comments)
 
IDEA-41472 Wrong inspection "Loop varibale not update inside loop"
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
This code:

Scanner scanner = new Scanner(...);
while (scanner.hasNext()) {
output.add(scanner.nextLine());
}

causes wrong warning: 'scanner' is not updated inside loop...


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