--- old/modules/graphics/src/main/java/javafx/scene/layout/ConstraintsBase.java 2016-04-29 10:55:14.763927700 -0700 +++ new/modules/graphics/src/main/java/javafx/scene/layout/ConstraintsBase.java 2016-04-29 10:55:14.416559300 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -27,7 +27,6 @@ import java.util.Iterator; -import javafx.scene.Node; import javafx.scene.Parent; import com.sun.javafx.util.WeakReferenceQueue; @@ -48,24 +47,24 @@ */ public static final double CONSTRAIN_TO_PREF = Double.NEGATIVE_INFINITY; - WeakReferenceQueue impl_nodes = new WeakReferenceQueue(); + private WeakReferenceQueue nodes = new WeakReferenceQueue(); - ConstraintsBase() { - } + ConstraintsBase() { + } - void add(Parent node) { - impl_nodes.add(node); - } + void add(Parent node) { + nodes.add(node); + } void remove(Parent node) { - impl_nodes.remove(node); + nodes.remove(node); } - /** - * Calls requestLayout on layout parent associated with this constraint object. - */ - protected void requestLayout() { - Iterator nodeIter = impl_nodes.iterator(); + /** + * Calls requestLayout on layout parent associated with this constraint object. + */ + protected void requestLayout() { + Iterator nodeIter = nodes.iterator(); while (nodeIter.hasNext()) { nodeIter.next().requestLayout();