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

Bug 311960

Summary: [javadoc] Small Javadoc error in DefaultCharacterPairMatcher
Product: [Eclipse Project] Platform Reporter: Robert Konigsberg <konigsberg>
Component: TextAssignee: Dani Megert <daniel_megert>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: daniel_megert, raksha.vasisht
Version: 3.6Keywords: Documentation
Target Milestone: 3.6 RC1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Robert Konigsberg CLA 2010-05-06 15:15:33 EDT
Build Identifier: I20090611-1540

Javadoc for DefaultCharacterPairMatcher shows this example code:

	 * char[] chars = new char[] {'(', ')', '{', '}', '[', ']'};
	 * new SimpleCharacterPairMatcher(chars, ...);

SimpleCharacterPairMatcher should be replaced with DefaultCharacterPairMatcher. I think.

Reproducible: Always
Comment 1 Dani Megert CLA 2010-05-10 02:46:07 EDT
Fixed in HEAD.
Comment 2 Raksha Vasisht CLA 2010-05-17 09:46:31 EDT
Starting to verify...
Comment 3 Raksha Vasisht CLA 2010-05-17 09:50:53 EDT
Verified for 3.6RC1 with N20100516-2000.