-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.6.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b70)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b70, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
Method getComparator and setComparator() in DefaultRowSorter
are types using raw types.
Raw types must be used only by backward compatibiliy,
the signature may used wildcard instead.
The correct signature must be :
Comparator<?> getComparator(int column)
setComparator(int column, Comparator<?> comparator)
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.6.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b70)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b70, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
Method getComparator and setComparator() in DefaultRowSorter
are types using raw types.
Raw types must be used only by backward compatibiliy,
the signature may used wildcard instead.
The correct signature must be :
Comparator<?> getComparator(int column)
setComparator(int column, Comparator<?> comparator)
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-6386223 Swing's Sorting/Filtering API could be further generified
-
- Resolved
-