com.atlassian.jira.issue.comparator
Class NullResolutionComparator

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

public class NullResolutionComparator
extends java.lang.Object
implements java.util.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(java.lang.Object o1, java.lang.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(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator


Copyright © 2002-2010 Atlassian. All Rights Reserved.