diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | javax/swing/JComboBox.java | 2 | ||||
-rw-r--r-- | javax/swing/tree/FixedHeightLayoutCache.java | 2 | ||||
-rw-r--r-- | javax/swing/tree/VariableHeightLayoutCache.java | 2 |
4 files changed, 11 insertions, 3 deletions
@@ -1,3 +1,11 @@ +2006-04-25 Tom Tromey <tromey@redhat.com> + + * javax/swing/JComboBox.java (AccessibleJComboBox): Now public. + * javax/swing/tree/VariableHeightLayoutCache.java + (getVisiblePathsFrom): Genericized. + * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom): + Genericized. + 2006-04-23 Jeroen Frijters <jeroen@frijters.net> * java/lang/Package.java: Added compatibility constructor to ease diff --git a/javax/swing/JComboBox.java b/javax/swing/JComboBox.java index 9425ac258..f995e114a 100644 --- a/javax/swing/JComboBox.java +++ b/javax/swing/JComboBox.java @@ -1219,7 +1219,7 @@ public class JComboBox extends JComponent implements ItemSelectable, { private static final long serialVersionUID = 8217828307256675666L; - protected AccessibleJComboBox() + public AccessibleJComboBox() { // Nothing to do here. } diff --git a/javax/swing/tree/FixedHeightLayoutCache.java b/javax/swing/tree/FixedHeightLayoutCache.java index cb637c0df..c4cc560fc 100644 --- a/javax/swing/tree/FixedHeightLayoutCache.java +++ b/javax/swing/tree/FixedHeightLayoutCache.java @@ -390,7 +390,7 @@ public class FixedHeightLayoutCache * @param parentPath the parent path * @return the enumeration over pathes */ - public Enumeration getVisiblePathsFrom(TreePath parentPath) + public Enumeration<TreePath> getVisiblePathsFrom(TreePath parentPath) { if (dirty) update(); diff --git a/javax/swing/tree/VariableHeightLayoutCache.java b/javax/swing/tree/VariableHeightLayoutCache.java index a1d8ef853..3758a4fc0 100644 --- a/javax/swing/tree/VariableHeightLayoutCache.java +++ b/javax/swing/tree/VariableHeightLayoutCache.java @@ -468,7 +468,7 @@ public class VariableHeightLayoutCache * @param parentPath the parent path * @return the enumeration over pathes */ - public Enumeration getVisiblePathsFrom(TreePath parentPath) + public Enumeration<TreePath> getVisiblePathsFrom(TreePath parentPath) { if (dirty) update(); |