private boolean acceptableAccuracy(final Location location){
  return location.hasAccuracy() && (location.getAccuracy() <= Float.parseFloat(prefs.getString(Preferences.KEY_REQ_GPS_ACCURACY,Preferences.VAL_REQ_GPS_ACCURACY)));
}

private boolean acceptableAccuracy ( final Location location ) { return location . hasAccuracy ( ) && ( location . getAccuracy ( ) <= Float . parseFloat ( prefs . getString ( Preferences . KEY_REQ_GPS_ACCURACY , Preferences . VAL_REQ_GPS_ACCURACY ) ) ) ; }
checks whether accuracy is good enough by testing whether accuracy is available and below settings threshold
