summaryrefslogtreecommitdiff
path: root/javax/swing/SortingFocusTraversalPolicy.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2005-02-04 07:14:20 +0000
committerMichael Koch <konqueror@gmx.de>2005-02-04 07:14:20 +0000
commit0452f29d8f581c4fbc6c9e2f7cbeb0d0d742f6c5 (patch)
tree52349894d630e3098037994a34c8a235e372378e /javax/swing/SortingFocusTraversalPolicy.java
parentc77c62cae5a927d2df7454445e8d3d35bef2981b (diff)
downloadclasspath-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.java4
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)
{