This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 132112

Summary: Code-complete should only list unused cases
Product: java Reporter: _ gtzabari <gtzabari>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker CC: markiewb
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ gtzabari 2008-04-04 21:21:57 UTC
Given:

switch (someEnum)
{
  case ONE:
  case <code-complete>
  case FIVE:
}

the IDE should list remaining values of someEnum which have not already been caught, such as ONE or FIVE. Currently it
lists all values regardless of whether they have already been caught.
Comment 1 markiewb 2015-01-02 13:29:29 UTC
Still valid in 8.0.2