changeset 5202:d29c1c555d01

RT-33041: ScheduledService lastValueProperty() is missing generics Reviewed-by: jgiles
author rbair
date Fri, 27 Sep 2013 15:00:44 -0700
parents 817ffac6c818
children 1a55aa923188
files modules/graphics/src/main/java/javafx/concurrent/ScheduledService.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/concurrent/ScheduledService.java	Fri Sep 27 14:22:25 2013 -0700
+++ b/modules/graphics/src/main/java/javafx/concurrent/ScheduledService.java	Fri Sep 27 15:00:44 2013 -0700
@@ -313,7 +313,7 @@
      */
     private ReadOnlyObjectWrapper<V> lastValue = new ReadOnlyObjectWrapper<>(this, "lastValue", null);
     public final V getLastValue() { return lastValue.get(); }
-    public final ReadOnlyObjectProperty lastValueProperty() { return lastValue.getReadOnlyProperty(); }
+    public final ReadOnlyObjectProperty<V> lastValueProperty() { return lastValue.getReadOnlyProperty(); }
 
     /**
      * The timestamp of the last time the task was run. This is used to compute the amount