Skip to content

Conversation

@devotaaabel
Copy link
Contributor

Implemented Comparable in BannerComponents so that they can be sorted/compared by abbreviation priority.

*/
@Override
public int compareTo(BannerComponents bannerComponents) {
return this.abbreviationPriority().compareTo(bannerComponents.abbreviationPriority());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like abbreviationPriority is Nullable, so null check should be there

@devotaaabel
Copy link
Contributor Author

@osana ready to re-review

@devotaaabel devotaaabel merged commit 2818ce8 into master Mar 29, 2018
@osana osana mentioned this pull request Mar 30, 2018
14 tasks
@devotaaabel devotaaabel deleted the devota-comparable-banner-components branch January 28, 2019 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants