summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-04-25 23:11:39 +0000
committerTom Tromey <tromey@redhat.com>2006-04-25 23:11:39 +0000
commit4d80ae24073737202d4c51bf9efd2466fea8696d (patch)
treebeea68891564dc07f1af31bca71223545306cdc5
parent20e068305d518803066352dd245f08dac5612656 (diff)
downloadclasspath-4d80ae24073737202d4c51bf9efd2466fea8696d.tar.gz
* javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
* javax/swing/tree/VariableHeightLayoutCache.java (getVisiblePathsFrom): Genericized. * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom): Genericized.
-rw-r--r--ChangeLog8
-rw-r--r--javax/swing/JComboBox.java2
-rw-r--r--javax/swing/tree/FixedHeightLayoutCache.java2
-rw-r--r--javax/swing/tree/VariableHeightLayoutCache.java2
4 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a46e9afc..215cfb7c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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();