/[projects]/dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/afstandandenrute/OSRMHelper.java
ViewVC logotype

Diff of /dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/afstandandenrute/OSRMHelper.java

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

revision 2884 by torben, Sat Jan 30 14:05:53 2016 UTC revision 2885 by torben, Sat Jan 30 19:20:43 2016 UTC
# Line 25  public class OSRMHelper { Line 25  public class OSRMHelper {
25          final String base_url = "http://" + host + ":" + port;          final String base_url = "http://" + host + ":" + port;
26    
27    
28          public Address getNearestTableHttp(Address a1, Collection<Address> haystack) {          public Address getNearestTableHttp(Address a1, Collection<Address> haystack) throws Exception {
29    
30    
31    
# Line 82  public class OSRMHelper { Line 82  public class OSRMHelper {
82                          logger.log(Level.SEVERE, "Lookup failed", e);                          logger.log(Level.SEVERE, "Lookup failed", e);
83                          System.out.println( sb.toString() );                          System.out.println( sb.toString() );
84                          System.out.println( a1 );                          System.out.println( a1 );
85                          System.exit(1);                                          throw e; //Re-throw
86                  }                  }
87    
88                  //return gson.fromJson(txtResponse, OSRMResponse.class);                  //return gson.fromJson(txtResponse, OSRMResponse.class);

Legend:
Removed from v.2884  
changed lines
  Added in v.2885

  ViewVC Help
Powered by ViewVC 1.1.20