(Tag o1, Tag o2)
| 77 | private void tagItemSort(List<Tag> tagList){ |
| 78 | Collections.sort(tagList, new Comparator<Tag>(){ |
| 79 | @Override |
| 80 | public int compare(Tag o1, Tag o2) { |
| 81 | long s_1 = o1.getSort(); |
| 82 | long s_2 = o2.getSort(); |
| 83 | if(s_1 <s_2){ |
| 84 | return 1; |
| 85 | |
| 86 | }else{ |
| 87 | if(s_1 == s_2){ |
| 88 | return 0; |
| 89 | }else{ |
| 90 | return -1; |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 | }); |
| 95 | } |
| 96 | } |
nothing calls this directly
no outgoing calls
no test coverage detected