--- old/modules/graphics/src/main/java/javafx/scene/effect/DisplacementMap.java 2016-05-26 13:01:49.668054252 +0300 +++ new/modules/graphics/src/main/java/javafx/scene/effect/DisplacementMap.java 2016-05-26 13:01:48.579510252 +0300 @@ -60,12 +60,13 @@ * image by half of its size towards the upper left since each destination * pixel would contain the data that comes from the source pixel below and * to the right of it. + *

*

* Also note that this effect does not adjust the coordinates of input * events or any methods that measure containment on a {@code Node}. * The results of mouse picking and the containment methods are undefined * when a {@code Node} has a {@code DisplacementMap} effect in place. - * + *

*

* Example: *


@@ -76,9 +77,9 @@
  * floatMap.setWidth(width);
  * floatMap.setHeight(height);
  *
- * for (int i = 0; i < width; i++) {
+ * for (int i = 0; i < width; i++) {
  *     double v = (Math.sin(i / 20.0 * Math.PI) - 0.5) / 40.0;
- *     for (int j = 0; j < height; j++) {
+ *     for (int j = 0; j < height; j++) {
  *         floatMap.setSamples(i, j, 0.0f, (float) v);
  *     }
  * }