Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: 7, 8, 9
-
Fix Version/s: 15
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b16
-
CPU:generic
-
OS:generic
Description
A DESCRIPTION OF THE PROBLEM :
Docs contain the line ` r.add(pt.x, pt.y, 1, 1);`. Such a method does not exist.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The closest possible version would be ` r.add(new Rectangle(pt.x, pt.y, 1, 1));`
ACTUAL -
Docs contain the line ` r.add(pt.x, pt.y, 1, 1);`.
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/7/docs/api/java/awt/Rectangle.html#add%28java.awt.Point%29
Docs contain the line ` r.add(pt.x, pt.y, 1, 1);`. Such a method does not exist.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The closest possible version would be ` r.add(new Rectangle(pt.x, pt.y, 1, 1));`
ACTUAL -
Docs contain the line ` r.add(pt.x, pt.y, 1, 1);`.
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/7/docs/api/java/awt/Rectangle.html#add%28java.awt.Point%29