Remove exception handling from RegistrationClient

Separation of reponsibilities - it just interfaces with REST
This commit is contained in:
bspeice 2013-10-18 17:48:21 -04:00
parent d6586d3ac9
commit 0bd9b078a3

View File

@ -21,12 +21,7 @@ public class RegistrationClient {
}
public List<ParkingLot> listLots() {
try {
return gds.listLots();
} catch (RetrofitError e) {
Log.w("Registration.listLots()", e);
return null;
}
return gds.listLots();
}
}