Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 63451 Details for
Bug 181867
[generalize type] ChangeTypeAction does not work when an assignment uses the conditional expression format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
test case that does not work
ExampleBroken.java (text/java), 529 bytes, created by
Steve Luich
on 2007-04-10 19:17:27 EDT
(
hide
)
Description:
test case that does not work
Filename:
MIME Type:
Creator:
Steve Luich
Created:
2007-04-10 19:17:27 EDT
Size:
529 bytes
patch
obsolete
>package nightly.original.CODSTA; > >import java.util.Hashtable; >import java.util.Map; > >/** > * AUVT_5. > * > * @author sluich > */ >public class ExampleBroken { > private Map _previousTrackedVariables = new MyProperties(); > > void method() { > MyProperties trackedVariables= null; //CANNOT generalize the type to "Map" > _previousTrackedVariables = (trackedVariables == null) ? new MyProperties() : trackedVariables; > } > > private class MyProperties extends Hashtable { > } >} > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 181867
: 63451 |
63452