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

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

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

revision 1167 by torben, Mon Oct 4 05:51:55 2010 UTC revision 1168 by torben, Mon Oct 18 11:49:01 2010 UTC
# Line 70  public class DepartureServlet extends Ht Line 70  public class DepartureServlet extends Ht
70          @Override          @Override
71          protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {                    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {          
72                  if (req.getParameter("station") == null) {                  if (req.getParameter("station") == null) {
73                          resp.sendError(400, "not enough parameters");                          resp.sendError(400, "not enough parameters (station)");
74                          return;                          return;
75                  }                  }
76                    if (req.getParameter("format") == null) {
77                            resp.sendError(400, "not enough parameters (format)");
78                            return;                
79                    }
80                                    
81                  boolean arrival = false;                  boolean arrival = false;
82                  try {                  try {

Legend:
Removed from v.1167  
changed lines
  Added in v.1168

  ViewVC Help
Powered by ViewVC 1.1.20