Resolved issue with a filter element comparator that was causing the build to fail.

This commit is contained in:
dennis.sheirer
2014-12-14 23:14:49 +00:00
parent 8b5e9c3f36
commit 9542a74968

View File

@@ -106,7 +106,14 @@ public class FilterEditorPanel<T> extends JPanel
{
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 )
{