com.atlassian.jira.plugin.util
Class TabPanelUtil
java.lang.Object
com.atlassian.jira.plugin.util.TabPanelUtil
public class TabPanelUtil
- extends Object
- Since:
- v3.10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_ISSUES_TO_DISPLAY
public static final int MAX_ISSUES_TO_DISPLAY
- See Also:
- Constant Field Values
PAGER_FILTER
public static final PagerFilter PAGER_FILTER
TabPanelUtil
public TabPanelUtil()
subSetCollection
public static Collection subSetCollection(Collection collection,
int subset)
- Returns a sub-set of the collection that has up to 'subset' number of entries.
Returns an empty collection in case of the collection being null or empty.
- Parameters:
collection
- collection of versionssubset
- max number of entries in the returning collection
- Returns:
- collection of entries, may be empty but never null
filterIssuesWithNoVotes
public static void filterIssuesWithNoVotes(List issues)
- Removes the issue with 0 votes from the given list.
Note: It also removes it if
Issue.getVotes()
returns null.
- Parameters:
issues
- list of Issue
objects
Copyright © 2002-2009 Atlassian. All Rights Reserved.