/hg/gfx-test: Fixed various typos in JavaDoc.
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Mon Jul 23 01:36:59 PDT 2012
changeset 20899e14d776 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=20899e14d776
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Mon Jul 23 10:39:34 2012 +0200
Fixed various typos in JavaDoc.
* src/org/gfxtest/callbacks/PolylineDrawCallbacks.java:
* src/org/gfxtest/testsuites/PrintTestPolylines.java:
diffstat:
ChangeLog | 6 ++
src/org/gfxtest/callbacks/PolylineDrawCallbacks.java | 4 +-
src/org/gfxtest/testsuites/PrintTestPolylines.java | 42 ++++++++++----------
3 files changed, 29 insertions(+), 23 deletions(-)
diffs (203 lines):
diff -r fe17c684bae1 -r 20899e14d776 ChangeLog
--- a/ChangeLog Thu Jul 19 11:08:39 2012 +0200
+++ b/ChangeLog Mon Jul 23 10:39:34 2012 +0200
@@ -1,3 +1,9 @@
+2012-07-23 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/callbacks/PolylineDrawCallbacks.java:
+ * src/org/gfxtest/testsuites/PrintTestPolylines.java:
+ Fixed various typos in JavaDoc.
+
2012-07-18 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/PrintTestPolylines.java:
diff -r fe17c684bae1 -r 20899e14d776 src/org/gfxtest/callbacks/PolylineDrawCallbacks.java
--- a/src/org/gfxtest/callbacks/PolylineDrawCallbacks.java Thu Jul 19 11:08:39 2012 +0200
+++ b/src/org/gfxtest/callbacks/PolylineDrawCallbacks.java Mon Jul 23 10:39:34 2012 +0200
@@ -73,7 +73,7 @@
* Setup phase.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
*/
@@ -105,7 +105,7 @@
* @param y2
* y-coordinate of the lower right vertex
* @param index
- * rectangle index
+ * polyline index
*/
public abstract void iterationCallBack(int x1, int y1, int x2, int y2, int index);
}
diff -r fe17c684bae1 -r 20899e14d776 src/org/gfxtest/testsuites/PrintTestPolylines.java
--- a/src/org/gfxtest/testsuites/PrintTestPolylines.java Thu Jul 19 11:08:39 2012 +0200
+++ b/src/org/gfxtest/testsuites/PrintTestPolylines.java Mon Jul 23 10:39:34 2012 +0200
@@ -77,15 +77,15 @@
{
/**
* Method which renders set of polylines using various colors and stroke
- * styles. For each rectangle, the callback function/method is called to
+ * styles. For each polyline, the callback function/method is called to
* perform all required setup.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @param step
- * between two near rectangles
+ * between two near polylines
* @param polylineDrawCallbacks
* class containing set of callback methods
*/
@@ -109,16 +109,16 @@
// index to color palette
int colorIndex = 0;
- // draw all rectangles onto a paper
+ // draw all polylines onto a paper
while (x1 < x2 - BORDER && y1 < y2 - BORDER)
{
- // setup can be made for each rectangle
+ // setup can be made for each polyline
polylineDrawCallbacks.iterationCallBack(x1, y1, x2, y2, colorIndex++);
- // render the rectangle
+ // render the new polyline
int xpoints[] = {x1, x2, x2, x1};
int ypoints[] = {y1, y1, y2, y2};
graphics.drawPolyline(xpoints, ypoints, 4);
- // setup coordinates for the next rectangle
+ // setup coordinates for the next polyline
x1 += step;
y1 += step;
x2 -= step;
@@ -135,7 +135,7 @@
* polylines are set to black.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -164,7 +164,7 @@
* polylines are selected from a palette.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -195,7 +195,7 @@
* polylines are selected from a grayscale palette.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -227,7 +227,7 @@
* polylines are selected from a grayscale palette.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -265,7 +265,7 @@
* Join style is set to bevel style and end caps is set to CAP_BUTT.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -303,7 +303,7 @@
* Join style is set to miter style and end caps is set to CAP_BUTT.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -341,7 +341,7 @@
* Join style is set to round style and end caps is set to CAP_BUTT.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -379,7 +379,7 @@
* Join style is set to bevel style and end caps is set to CAP_ROUND.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -417,7 +417,7 @@
* Join style is set to miter style and end caps is set to CAP_ROUND.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -455,7 +455,7 @@
* Join style is set to round style and end caps is set to CAP_ROUND.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -493,7 +493,7 @@
* Join style is set to bevel style and end caps is set to CAP_SQUARE.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -531,7 +531,7 @@
* Join style is set to miter style and end caps is set to CAP_SQUARE.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -569,7 +569,7 @@
* Join style is set to round style and end caps is set to CAP_SQUARE.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
@@ -606,7 +606,7 @@
* polylines are selected from a palette.
*
* @param image
- * image to which rectangles are to be drawn
+ * image to which polylines are to be drawn
* @param graphics2d
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
More information about the distro-pkg-dev
mailing list