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:
Andreas Schildbach 2016-09-20 23:14:33 +02:00
parent 1c2f21ac9f
commit 4c64746e75
15 changed files with 66 additions and 5 deletions

View file

@ -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();
}