mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-07-01 22:07:39 -04:00
Remove exception handling from RegistrationClient
Separation of reponsibilities - it just interfaces with REST
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user