/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/MetroServlet.java
ViewVC logotype

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/MetroServlet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1800 by torben, Thu Apr 28 19:03:04 2011 UTC revision 1801 by torben, Wed May 9 17:23:50 2012 UTC
# Line 33  public class MetroServlet extends HttpSe Line 33  public class MetroServlet extends HttpSe
33    
34          protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {          protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
35                                    
36                  if (req.getParameter("station") == null) {                  if (req.getParameter("station") == null || req.getParameter("station").equals("") ) {
37                          resp.sendError(400, "not enough parameters");                          resp.sendError(400, "not enough parameters");
38                          return;                          return;
39                  }                                        }                      

Legend:
Removed from v.1800  
changed lines
  Added in v.1801

  ViewVC Help
Powered by ViewVC 1.1.20