File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
web/src/main/webapp/WEB-INF/jsp/admin/monitor/hibernate Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 185185 return - Double . compare(s1HitPercent, s2HitPercent);
186186 }
187187 if (" hitCount" . equals(sortBy)) {
188- return - Long . compare (s1. getHitCount(), s2. getHitCount());
188+ return - Long . valueOf (s1. getHitCount()) . compareTo( Long . valueOf( s2. getHitCount() ));
189189 }
190190 if (" missCount" . equals(sortBy)) {
191- return - Long . compare (s1. getMissCount(), s2. getMissCount());
191+ return - Long . valueOf (s1. getMissCount()) . compareTo( Long . valueOf( s2. getMissCount() ));
192192 }
193193 if (" putCount" . equals(sortBy)) {
194- return - Long . compare (s1. getPutCount(), s2. getPutCount());
194+ return - Long . valueOf (s1. getPutCount()) . compareTo( Long . valueOf( s2. getPutCount() ));
195195 }
196196 if (" sizeInMemory" . equals(sortBy)) {
197- return - Long . compare (s1. getSizeInMemory(), s2. getSizeInMemory());
197+ return - Long . valueOf (s1. getSizeInMemory()) . compareTo( Long . valueOf( s2. getSizeInMemory() ));
198198 }
199199 if (" elementCountInMemory" . equals(sortBy)) {
200- return - Long . compare (s1. getElementCountInMemory(), s2. getElementCountInMemory());
200+ return - Long . valueOf (s1. getElementCountInMemory()) . compareTo( Long . valueOf( s2. getElementCountInMemory() ));
201201 }
202202
203203 return - region1. compareTo(region2);
You can’t perform that action at this time.
0 commit comments