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

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/LocateStations.java

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

revision 379 by torben, Thu Oct 1 08:21:09 2009 UTC revision 380 by torben, Fri Oct 2 10:17:44 2009 UTC
# Line 74  public class LocateStations extends Http Line 74  public class LocateStations extends Http
74                                          "WHERE name ILIKE ? AND latitude IS NOT NULL AND longitude IS NOT NULL " +                                          "WHERE name ILIKE ? AND latitude IS NOT NULL AND longitude IS NOT NULL " +
75                                          "ORDER BY name ";                                          "ORDER BY name ";
76                                  stmt = conn.prepareStatement(SQL);                                  stmt = conn.prepareStatement(SQL);
77                                  stmt.setString(1, "%" + name + "%");                                  stmt.setString(1, name + "%");
78                                  break;                                  break;
79                          default:                          default:
80                                  // This should not be possible                                  // This should not be possible

Legend:
Removed from v.379  
changed lines
  Added in v.380

  ViewVC Help
Powered by ViewVC 1.1.20