Bug 180710 - [api][quick diff] Revision.getColor() is wrongly speced
Summary: [api][quick diff] Revision.getColor() is wrongly speced
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.4 M1   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2007-04-03 09:25 EDT by Dani Megert CLA
Modified: 2007-06-21 09:02 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 Dani Megert CLA 2007-04-03 09:25:17 EDT
I20070327-0800.

Revision.getColor() is speced differently than it is currently used and implemented.

The spec says:
/**
Returns the color definition to be used for this revision. The color may be used to visually distinguish one revision from another, for example as background color. The colors of any two revisions should be as distinct as possible.

@return the RGB color description for this revision
*/

But the implementation in fact returns a unique color for the author.

==>
deprecate getColor() and add getAuthorColor()
Comment 1 Dani Megert CLA 2007-06-20 06:55:28 EDT
Fixed in HEAD.