modules/base/src/test/java/test/javafx/collections/Person.java
Print this page
rev 9235 : 8134760: Refactor Javafx base module tests for clear separation of tests
Reviewed-by:
*** 21,38 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package javafx.collections;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import javafx.beans.Observable;
import javafx.beans.property.StringProperty;
import javafx.beans.property.StringPropertyBase;
public class Person implements Comparable<Person> {
public StringProperty name = new StringPropertyBase("foo") {
@Override
--- 21,40 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package test.javafx.collections;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import javafx.beans.Observable;
import javafx.beans.property.StringProperty;
import javafx.beans.property.StringPropertyBase;
+ import javafx.collections.FXCollections;
+ import javafx.collections.ObservableList;
public class Person implements Comparable<Person> {
public StringProperty name = new StringPropertyBase("foo") {
@Override