--- android/TrainInfoService/src/dk/thoerup/traininfoservice/TestServlet.java 2010/05/18 20:58:04 735 +++ android/TrainInfoService/src/dk/thoerup/traininfoservice/TestServlet.java 2010/05/18 21:07:02 736 @@ -12,19 +12,18 @@ public class TestServlet extends HttpServlet { private static final long serialVersionUID = 1L; - final int COUNT = 10; //South-West corner= 54.0, 7.0 //North-East corner= 58.0, 16.0 //Latitude span=4.0 //Longitude span=9.0 - void testFindNearest() throws SQLException { + void testFindNearest(int count) throws SQLException { Random r = new Random(); StationDAO db = new StationDAO(); - for (int i=0; i