GetJedi/app/src/main/java/edu/getjedi/frontend/mobile/state/ClientLoggedState.java
private boolean filterPrice(int hourlyPrice) {
        double priceFilter;
        try {
            priceFilter = Double.parseDouble(this.priceFilter);
        }catch (Exception e){
            priceFilter = Double.MAX_VALUE;
        }
        return hourlyPrice <= priceFilter;
    }
/**
     * Applies the price filter for updateMap(), returning true if the service passes the maximum price requirement.
     */
Applies the price filter for updateMap(), returning true if the service passes the maximum price requirement.
Applies the price filter for updateMap () returning true if the service passes the maximum price requirement .
private boolean filterPrice(int hourlyPrice) {
        double priceFilter;
        try {
            priceFilter = Double.parseDouble(this.priceFilter);
        }catch (Exception e){
            priceFilter = Double.MAX_VALUE;
        }
        return hourlyPrice <= priceFilter;
    }
private boolean filterPrice ( int hourlyPrice ) { double priceFilter ; try { priceFilter = Double . parseDouble ( this . priceFilter ) ; } catch ( Exception e ) { priceFilter = Double . MAX_VALUE ; } return hourlyPrice <= priceFilter ; }
Applies the price filter for updateMap(), returning true if the service passes the maximum price requirement.
Applies the price filter for updateMap () returning true if the service passes the maximum price requirement .