changeset 716:06d28cb315ef

RT-19173: TODO cleanup
author Martin Sladecek <martin.sladecek@oracle.com>
date Tue, 27 Mar 2012 11:22:02 +0200
parents 0bd8128017fd
children 503177e32885
files javafx-ui-common/src/javafx/scene/shape/Path.java javafx-ui-common/src/javafx/scene/shape/Rectangle.java javafx-ui-common/src/javafx/scene/shape/Shape.java
diffstat 3 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/javafx/scene/shape/Path.java	Tue Mar 20 16:54:01 2012 +0100
+++ b/javafx-ui-common/src/javafx/scene/shape/Path.java	Tue Mar 27 11:22:02 2012 +0200
@@ -189,10 +189,6 @@
     private final ObservableList<PathElement> elements = new TrackableObservableList<PathElement>() {
         @Override
         protected void onChanged(Change<PathElement> c) {
-            //
-            // TODO: Need to keep a list of Path objects in PathElement if we want
-            // to support sharability. See how transforms is handled in Node.
-            //
             List<PathElement> list = c.getList();
             boolean firstElementChanged = false;
             while (c.next()) {
--- a/javafx-ui-common/src/javafx/scene/shape/Rectangle.java	Tue Mar 20 16:54:01 2012 +0100
+++ b/javafx-ui-common/src/javafx/scene/shape/Rectangle.java	Tue Mar 27 11:22:02 2012 +0200
@@ -504,7 +504,6 @@
         }
         if ((getArcWidth() > 0) && (getArcHeight() > 0)
                 && ((tx.getType() & NON_RECTILINEAR_TYPE_MASK) != 0)) {
-            // TODO: Optimize rotated bounds...
             return computeShapeBounds(bounds, tx, impl_configShape());
         }
         double upad;
--- a/javafx-ui-common/src/javafx/scene/shape/Shape.java	Tue Mar 20 16:54:01 2012 +0100
+++ b/javafx-ui-common/src/javafx/scene/shape/Shape.java	Tue Mar 27 11:22:02 2012 +0200
@@ -945,10 +945,8 @@
                 x1 += dx;
                 y1 += dy;
             }
-            // TODO - only pad by upad or dpad, depending on transform
             _dpad += upad;
         } else {
-            // TODO - only pad by upad or dpad, depending on transform
             x0 -= upad;
             y0 -= upad;
             x1 += upad*2;