Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352946 - Source code in documentation (API overview) has errors
Summary: Source code in documentation (API overview) has errors
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: Juno M1   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 07:47 EDT by Mirko Seifert CLA
Modified: 2011-07-26 08:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mirko Seifert CLA 2011-07-24 07:47:52 EDT
Build Identifier: I20110613-1736

The code example in the API overview section has error.

For example, 'Activator.sContext' must be replaced with 'Activator.getContext()'. There is no field 'sContext'.

Also 'agent.close()' must be replaced by 'agent.stop();' There is no method close() and the semicolon is missing.

Reproducible: Always
Comment 1 DJ Houghton CLA 2011-07-26 08:37:35 EDT
Fixed in HEAD.