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

Bug 258718

Summary: Javadoc for Dimension correction
Product: [Tools] GEF Reporter: Miles Parker <milesparker>
Component: GEF-Legacy Draw2dAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: ahunter.eclipse
Version: unspecified   
Target Milestone: 3.5.0 (Galileo) M5   
Hardware: All   
OS: All   
Whiteboard:

Description Miles Parker CLA 2008-12-12 20:42:08 EST
Sez:


/**
 * Returns <code>true</code> if the Dimension has width or height greater than 0.
 *
 * @return <code>true</code> if this Dimension is empty
 * @since 2.0
 */
public boolean isEmpty() {
	return (width <= 0) || (height <= 0);
}


Should say:

 * Returns <code>true</code> if either dimension is less than or equal to 0.
Comment 1 Anthony Hunter CLA 2009-01-09 12:20:59 EST
Committed to HEAD.