/[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 1039 by torben, Sun Sep 12 19:03:32 2010 UTC revision 1040 by torben, Sun Sep 12 19:37:56 2010 UTC
# Line 220  public class DepartureFetcher { Line 220  public class DepartureFetcher {
220                    
221                    
222                    
223          String cleanText(String input) {          public static String cleanText(String input) {
224                  //apparently JSoup interprets some of space characters on www.bane.dk as 0xA0                  //apparently JSoup translates   characters on www.bane.dk to 0xA0
225                  return input.replace((char) 0xA0, (char)0x20).trim();                  return input.replace((char) 0xA0, (char)0x20).trim();
226          }          }
227                    

Legend:
Removed from v.1039  
changed lines
  Added in v.1040

  ViewVC Help
Powered by ViewVC 1.1.20