mirror of
				https://github.com/bspeice/UNCCGameDay
				synced 2025-11-04 02:10:35 -05: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