/[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 1044 by torben, Sun Sep 12 19:37:56 2010 UTC revision 1045 by torben, Tue Sep 14 05:20:17 2010 UTC
# Line 231  public class DepartureFetcher { Line 231  public class DepartureFetcher {
231                                    
232                  String type = getTypeStringWww(trainType);                  String type = getTypeStringWww(trainType);
233                                    
234                    stationcode = URLEncoder.encode(stationcode, "ISO-8859-1");
235                    
236                                                                                            
237              String uri = "http://www.bane.dk/visStation.asp?ArtikelID=4275&W=" + type + "&S=" + stationcode;              String uri = "http://www.bane.dk/visStation.asp?ArtikelID=4275&W=" + type + "&S=" + stationcode;
238                logger.info("URI:" + uri);
239              JsoupInvocation wrapper = new JsoupInvocation( new URL(uri), replyTimeout);              JsoupInvocation wrapper = new JsoupInvocation( new URL(uri), replyTimeout);
240              CircuitBreaker breaker = CircuitBreakerManager.getManager().getCircuitBreaker("banedk");              CircuitBreaker breaker = CircuitBreakerManager.getManager().getCircuitBreaker("banedk");
241                            

Legend:
Removed from v.1044  
changed lines
  Added in v.1045

  ViewVC Help
Powered by ViewVC 1.1.20