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

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

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

revision 1333 by torben, Wed Apr 20 06:26:19 2011 UTC revision 1335 by torben, Wed Apr 20 06:35:13 2011 UTC
# Line 263  public class DepartureFetcher { Line 263  public class DepartureFetcher {
263                                                    
264                                                    
265                          Element link = currentRow.child(0);                              Element link = currentRow.child(0);    
266                          System.out.println( currentRow.text() );;                                  logger.fine( currentRow.text() );
267                                                    
268    
269                          String parts[] = currentRow.text().split(",");                          String parts[] = currentRow.text().split(",");
# Line 289  http://mobil.bane.dk/mobilStation.asp?ar Line 289  http://mobil.bane.dk/mobilStation.asp?ar
289                                  trainNumber = trainNumber + " " + extractTrainNumberAzure(fields.get(2));*/                                  trainNumber = trainNumber + " " + extractTrainNumberAzure(fields.get(2));*/
290                          departure.setTrainNumber(trainNumber);                          departure.setTrainNumber(trainNumber);
291    
292                                  if (trainType == TrainType.STOG) { //if it is stog the next vield is the "Line" code - this should be used somewhere, but skippint ahead for now                                  if (traintype == TrainType.STOG) { //if it is stog the next vield is the "Line" code - this should be used somewhere, but skippint ahead for now
293                                          offset++;                                          offset++;
294                                  }                                  }
295    

Legend:
Removed from v.1333  
changed lines
  Added in v.1335

  ViewVC Help
Powered by ViewVC 1.1.20