90 |
} |
} |
91 |
} |
} |
92 |
} |
} |
93 |
|
|
94 |
|
Collections.sort(stationBean.entries, new Comparator<StationEntry>() { |
95 |
|
@Override |
96 |
|
public int compare(StationEntry arg0, StationEntry arg1) { |
97 |
|
return arg0.getName().compareTo( arg1.getName() ); |
98 |
|
} |
99 |
|
}); |
100 |
|
|
101 |
return stationBean; |
return stationBean; |
102 |
} finally { |
} finally { |
277 |
|
|
278 |
for(JdoStationBean bean : beanList) { |
for(JdoStationBean bean : beanList) { |
279 |
stationBean.entries.add( bean.toStationEntry() ); |
stationBean.entries.add( bean.toStationEntry() ); |
280 |
} |
} |
281 |
|
|
282 |
|
|
283 |
} finally { |
} finally { |
284 |
pm.close(); |
pm.close(); |