From e76039f89b178cb9aaf561fdfdc0a4e3b6b9fbec Mon Sep 17 00:00:00 2001
From: Rhys Evans <EvansRM17@cardiff.ac.uk>
Date: Thu, 14 Dec 2023 13:24:13 +0000
Subject: [PATCH] slight fix

---
 .../SmartTowns/placeswithcoordinates/PlacesController.java      | 2 ++
 .../{DataSourceConfigfdg.java => DataSourceConfig.java}         | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 rename src/test/java/Team5/SmartTownsOld/{DataSourceConfigfdg.java => DataSourceConfig.java} (94%)

diff --git a/src/main/java/Team5/SmartTowns/placeswithcoordinates/PlacesController.java b/src/main/java/Team5/SmartTowns/placeswithcoordinates/PlacesController.java
index 9aa0a9f6..d5c1f96a 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 d84c75af..568065a2 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(){
-- 
GitLab