private String makeListString(String driverName, int[] pitstopLap, int stops, int pase) {
        StringBuilder pitString = new StringBuilder();
        int adLap = 0;
        //evaluamos la variable pase si esta no es 1 o 2 adLap vale 0.  
        adLap = pase == 1 ? 1 : pase == 2 ? -1 : 0;
        switch (stops) {
            case (1):
                pitString = pitString.append('\n').append("    ").append(driverName).append(" = ").append(stops).append(" - ").append(pitstopLap[0] + adLap).append('\r');
                break;
            case (2):
                pitString = pitString.append('\n').append("    ").append(driverName).append(" = ").append(stops).append(" - ").append(pitstopLap[0] + adLap).append(",").append(pitstopLap[1] - adLap).append('\r');
                break;
            case (3):
                pitString = pitString.append('\n').append("    ").append(driverName).append(" = ").append(stops).append(" - ").append(pitstopLap[0] + adLap).append(",").append(pitstopLap[1] - adLap).append(",").append(pitstopLap[2] + adLap).append('\r');
        }
        return pitString.toString();
    }