public class TabPanelUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ISSUES_TO_DISPLAY |
static PagerFilter |
PAGER_FILTER |
Constructor and Description |
---|
TabPanelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
filterIssuesWithNoVotes(List issues)
Removes the issue with 0 votes from the given list.
|
static Collection |
subSetCollection(Collection collection,
int subset)
Returns a sub-set of the collection that has up to 'subset' number of entries.
|
public static final int MAX_ISSUES_TO_DISPLAY
public static final PagerFilter PAGER_FILTER
public static Collection subSetCollection(Collection collection, int subset)
collection
- collection of versionssubset
- max number of entries in the returning collectionpublic static void filterIssuesWithNoVotes(List issues)
Issue.getVotes()
returns null.issues
- list of Issue
objectsCopyright © 2002-2023 Atlassian. All Rights Reserved.