Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341711 - Doc entry for Color.YELLOW and Color.yellow are switched.
Summary: Doc entry for Color.YELLOW and Color.yellow are switched.
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Doc (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: JDT-Doc-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-03 01:42 EDT by nerd_rage CLA
Modified: 2011-04-04 04:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nerd_rage CLA 2011-04-03 01:42:09 EDT
Build Identifier: 20110218-0911

The doc entry for Color.YELLOW and Color.yellow have been switched.
Code:

import java.applet.Applet;
import java.awt.*;

public class App extends Applet{
	public void paint(Graphics page) {
		setBackground(Color.white);

		page.setColor(Color.);
	}
}

Reproducible: Always

Steps to Reproduce:
1. Go to http://pastie.org/1749636 or the code in the details. 
2. Ctrl+Space at line 6, column 29.
3. Scroll down to the two entries for yellow. Click one. Read.
Comment 1 Dani Megert CLA 2011-04-04 04:07:38 EDT
This looks good to me using Eclipse 3.7 M6 with JRE 1.6. The only difference in the Javadoc is that 'YELLOW' has an additional "@since 1.4".