-
Bug
-
Resolution: Fixed
-
P4
-
7, 8, 9
-
b16
-
generic
-
generic
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