Refactoring
This commit is contained in:
		@@ -121,9 +121,9 @@ public class LocationProvider
 | 
			
		||||
				if (
 | 
			
		||||
						locationList.size() >= 1
 | 
			
		||||
								&&
 | 
			
		||||
								locationList.get(locationList.size() - 1).getTime() == newLocation.getTime()
 | 
			
		||||
						locationList.get(locationList.size() - 1).getTime() == newLocation.getTime()
 | 
			
		||||
								&&
 | 
			
		||||
								locationList.get(locationList.size() - 1).getProvider().equals(newLocation.getProvider())
 | 
			
		||||
						locationList.get(locationList.size() - 1).getProvider().equals(newLocation.getProvider())
 | 
			
		||||
				)
 | 
			
		||||
				{
 | 
			
		||||
					// This is a duplicate update, do not store it
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user