mirror of
https://github.com/bspeice/UNCCGameDay
synced 2024-11-05 07:38:13 -05:00
Remove exception handling from RegistrationClient
Separation of reponsibilities - it just interfaces with REST
This commit is contained in:
parent
d6586d3ac9
commit
0bd9b078a3
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user