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 63452 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
ExampleWorks.java
ExampleWorks.java (text/java), 595 bytes, created by
Steve Luich
on 2007-04-10 19:18:31 EDT
(
hide
)
Description:
ExampleWorks.java
Filename:
MIME Type:
Creator:
Steve Luich
Created:
2007-04-10 19:18:31 EDT
Size:
595 bytes
patch
obsolete
>package nightly.original.CODSTA; > >import java.util.Hashtable; >import java.util.Map; > >/** > * AUVT_5. > * > * @author sluich > */ >public class ExampleWorks { > private Map _previousTrackedVariables = new MyProperties(); > > void method() { > Map trackedVariables= null; //CAN generalize the type to "Map" > if(trackedVariables == null){ > _previousTrackedVariables = new MyProperties(); > } else { > _previousTrackedVariables = 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