diff --git a/src/main/java/Team5/SmartTowns/placeswithcoordinates/PlacesController.java b/src/main/java/Team5/SmartTowns/placeswithcoordinates/PlacesController.java index 9aa0a9f6499978ad03aeb915c99a96ec63d80b60..d5c1f96a6a50744b9b54fdf88cd52fc31d4be264 100644 --- a/src/main/java/Team5/SmartTowns/placeswithcoordinates/PlacesController.java +++ b/src/main/java/Team5/SmartTowns/placeswithcoordinates/PlacesController.java @@ -17,6 +17,8 @@ import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; import java.util.ArrayList; +import java.util.Collections; +import java.util.Comparator; import java.util.List; import java.util.stream.Collectors; diff --git a/src/test/java/Team5/SmartTownsOld/DataSourceConfigfdg.java b/src/test/java/Team5/SmartTownsOld/DataSourceConfig.java similarity index 94% rename from src/test/java/Team5/SmartTownsOld/DataSourceConfigfdg.java rename to src/test/java/Team5/SmartTownsOld/DataSourceConfig.java index d84c75af3ba5326a7114177f902fddb903ab8d91..568065a262e3a45668c889f8a8ddc6c1048bba01 100644 --- a/src/test/java/Team5/SmartTownsOld/DataSourceConfigfdg.java +++ b/src/test/java/Team5/SmartTownsOld/DataSourceConfig.java @@ -6,7 +6,7 @@ import org.springframework.context.annotation.Configuration; import org.springframework.jdbc.datasource.DriverManagerDataSource; @Configuration -public class DataSourceConfigfdg { +public class DataSourceConfig { @Bean public DataSource dataSource(){