diff options
author | Michael Koch <konqueror@gmx.de> | 2005-02-04 07:14:20 +0000 |
---|---|---|
committer | Michael Koch <konqueror@gmx.de> | 2005-02-04 07:14:20 +0000 |
commit | 0452f29d8f581c4fbc6c9e2f7cbeb0d0d742f6c5 (patch) | |
tree | 52349894d630e3098037994a34c8a235e372378e /javax/swing/SortingFocusTraversalPolicy.java | |
parent | c77c62cae5a927d2df7454445e8d3d35bef2981b (diff) | |
download | classpath-0452f29d8f581c4fbc6c9e2f7cbeb0d0d742f6c5.tar.gz |
2005-02-04 Michael Koch <konqueror@gmx.de>
* javax/swing/SortingFocusTraversalPolicy.java
(getSortedCycle): Fixed initialization of set.
Diffstat (limited to 'javax/swing/SortingFocusTraversalPolicy.java')
-rw-r--r-- | javax/swing/SortingFocusTraversalPolicy.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javax/swing/SortingFocusTraversalPolicy.java b/javax/swing/SortingFocusTraversalPolicy.java index d171b8d20..df369c61a 100644 --- a/javax/swing/SortingFocusTraversalPolicy.java +++ b/javax/swing/SortingFocusTraversalPolicy.java @@ -141,8 +141,8 @@ public class SortingFocusTraversalPolicy { if (set == null) set = (getComparator() == null - ? new TreeSet(getComparator()) - : new TreeSet()); + ? new TreeSet() + : new TreeSet(getComparator())); if (root != null) { |