com.atlassian.jira.issue.comparator
Class NullResolutionComparator

java.lang.Object
  extended by com.atlassian.jira.issue.comparator.NullResolutionComparator
All Implemented Interfaces:
Comparator

public class NullResolutionComparator
extends Object
implements Comparator

This comparator just checks for the existance of a resolution - it does not actually use it. Only works for Issue Objects.

This is to fix JRA-1305 (sort by resolution first in the road map). However, we don't want to just sort by the resolution, but rather sort by the existance of the resolution.


Constructor Summary
NullResolutionComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

NullResolutionComparator

public NullResolutionComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright © 2002-2014 Atlassian. All Rights Reserved.