--- android/TrainInfoService/src/dk/thoerup/traininfoservice/LoadStations.java 2011/04/20 19:05:01 1356 +++ android/TrainInfoService/src/dk/thoerup/traininfoservice/LoadStations.java 2011/04/20 19:06:35 1357 @@ -13,6 +13,7 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import dk.thoerup.genericjavautils.HttpUtil; import dk.thoerup.traininfoservice.db.DBConnection; @Deprecated @@ -55,7 +56,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { String url = "http://rafiki.t-hoerup.dk/tog/stations.php"; - String stationStr = DownloadUtil.getContentString(url, 5000, "ISO-8859-1"); + String stationStr = HttpUtil.getContentString(url, 5000, "ISO-8859-1"); String stations[] = stationStr.split("\n"); Connection conn = null;