--- android/TrainInfoService/src/dk/thoerup/traininfoservice/TestServlet.java 2010/06/15 06:34:42 850 +++ android/TrainInfoService/src/dk/thoerup/traininfoservice/TestServlet.java 2010/06/15 12:54:25 851 @@ -12,13 +12,14 @@ public class TestServlet extends HttpServlet { private static final long serialVersionUID = 1L; + + Random r = new Random(); //South-West corner= 54.0, 7.0 //North-East corner= 58.0, 13.0 //Latitude span=4.0 //Longitude span=6.0 - void testFindNearest(int count) throws SQLException { - Random r = new Random(); + void testFindNearest(int count) throws SQLException { StationDAO db = new StationDAO(); @@ -34,7 +35,6 @@ } void testFindName(int count) throws SQLException { - Random r = new Random(); StationDAO db = new StationDAO(); @@ -52,7 +52,6 @@ } void testFindFavorites(int count) throws SQLException { - Random r = new Random(); StationDAO db = new StationDAO();