Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352946

Summary: Source code in documentation (API overview) has errors
Product: [Eclipse Project] Equinox Reporter: Mirko Seifert <mirko.seifert>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: Juno M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.