mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-17 02:57:35 -05:00
Resolved issue with a filter element comparator that was causing the build to fail.
This commit is contained in:
@@ -106,7 +106,14 @@ public class FilterEditorPanel<T> extends JPanel
|
|||||||
{
|
{
|
||||||
List<FilterElement<?>> elements = filter.getFilterElements();
|
List<FilterElement<?>> elements = filter.getFilterElements();
|
||||||
|
|
||||||
Collections.sort( elements );
|
Collections.sort( elements, new Comparator<FilterElement<?>>()
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public int compare( FilterElement<?> o1, FilterElement<?> o2 )
|
||||||
|
{
|
||||||
|
return o1.toString().compareTo( o2.toString() );
|
||||||
|
}
|
||||||
|
} );
|
||||||
|
|
||||||
for( FilterElement<?> element: elements )
|
for( FilterElement<?> element: elements )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user