mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 09:19:57 +00:00
Switch to Java 7.
Notes regarding Android compatibility: - The 'try-with-resources' language feature needs API level 19, so don't use it. All other language features can be used back to API level 8. - The JDK 1.7 API still isn't fully implemented, so better stick with 1.6 for now.
This commit is contained in:
parent
1c2f21ac9f
commit
4c64746e75
15 changed files with 66 additions and 5 deletions
|
@ -511,6 +511,7 @@ public class VrsProviderLiveTest extends AbstractProviderLiveTest {
|
|||
}
|
||||
|
||||
private static class LocationComparator implements Comparator<Location> {
|
||||
@Override
|
||||
public int compare(Location o1, Location o2) {
|
||||
return ComparisonChain.start().compare(o1.name, o2.name).result();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue