Summary: | Clarify Javadoc for @Optional | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> |
Component: | UI | Assignee: | Lars Vogel <Lars.Vogel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Lars.Vogel, simon.scholz |
Version: | 4.5 | Keywords: | Documentation |
Target Milestone: | 4.5 RC3 | ||
Hardware: | PC | ||
OS: | Linux | ||
See Also: |
https://git.eclipse.org/r/48613 https://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=ea8704f3ac3f5045369f34dc64ed73e9d450d3de |
||
Whiteboard: |
New Gerrit change created: https://git.eclipse.org/r/48613 Gerrit change https://git.eclipse.org/r/48613 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=ea8704f3ac3f5045369f34dc64ed73e9d450d3de . |
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.