Bug 62400 - Iteration Variables are Defined inside the while loop
Summary: Iteration Variables are Defined inside the while loop
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-05-15 06:52 EDT by Himadri Saha CLA
Modified: 2007-06-22 10:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Himadri Saha CLA 2004-05-15 06:52:15 EDT
During iteration through an Enumeration or an Iterator, in eclipse 
AutoCompletion , everytime the variable is defined inside the while loop . 
Instead it would be nice if the auto-completion puts the element outside the 
loop and initialize as null.
Comment 1 Tom Hofmann CLA 2004-05-17 03:29:34 EDT
Can you give a detailed example of the actual behaviour and what you would
expect instead? Note that you can define templates on your own (Preferences ->
Java -> Editor -> Templates) - I assume you request changing of the default
templates.

Please reopen with detailed description.
Comment 2 Dani Megert CLA 2007-06-22 09:59:47 EDT
Get rid of deprecated state.
Comment 3 Dani Megert CLA 2007-06-22 10:04:55 EDT
.