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

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

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

revision 1050 by torben, Tue Sep 14 11:04:08 2010 UTC revision 1051 by torben, Tue Sep 14 11:09:55 2010 UTC
# Line 103  public class MetroFetcher { Line 103  public class MetroFetcher {
103                                                                    
104                  bean.operationInfo = contentElems.get(3).text();                  bean.operationInfo = contentElems.get(3).text();
105                                    
106                  for (int i=0; i<contentElems.size(); i++) {                  for (int i=4; i<contentElems.size(); i++) {
107                          if (contentElems.get(i).text().trim().equalsIgnoreCase("køreplan")) {                          if (contentElems.get(i).text().trim().equalsIgnoreCase("køreplan")) {                          
108                                  bean.plan = contentElems.get(i+1).text();                                  bean.plan = contentElems.get(i+1).text();
109                          }                          }
110                  }                  }

Legend:
Removed from v.1050  
changed lines
  Added in v.1051

  ViewVC Help
Powered by ViewVC 1.1.20