Skip to content

Commit

Permalink
Merge pull request #11 from isunican/feature/509082-TicketAgregarElem…
Browse files Browse the repository at this point in the history
…entoInformativoListaVacia

Feature/509082 ticket agregar elemento informativo lista vacia
  • Loading branch information
AlejandroAranaGomez authored Nov 21, 2024
2 parents e3c5833 + 923d96b commit c15d6c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public int compare(Gasolinera g1, Gasolinera g2) {
double distancia2 = harvesine(g2, punto);

//si la primera gasolinera esta mas cerca retorno -
//si la primera gasolinera esta mas lejos retorno +
//si estan a la misma distancia retorno 0
// si la primera gasolinera esta mas lejos retorno +
// si estan a la misma distancia retorno 0
return Double.compare(distancia1, distancia2);
}

Expand Down

0 comments on commit c15d6c4

Please sign in to comment.