Bug 468291 - Clarify Javadoc for @Optional
Summary: Clarify Javadoc for @Optional
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.5 RC3   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2015-05-26 06:31 EDT by Lars Vogel CLA
Modified: 2015-05-27 10:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2015-05-26 06:31:35 EDT
See 

I suggest to add the following to the @Optional Javadoc.

> null is an acceptable value to be set in the context, and it is different
> from a key being removed from the context.  i.e.,
> 
>     context.set(SOMEKEY, null);
> 
> means anybody listening for SOMEKEY will be injected with null.
Comment 2 Eclipse Genie CLA 2015-05-26 06:39:12 EDT
New Gerrit change created: https://git.eclipse.org/r/48613
Comment 4 Lars Vogel CLA 2015-05-27 10:36:08 EDT
.