/[projects]/dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/coveragefileupload/AddressManager.java
ViewVC logotype

Diff of /dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/coveragefileupload/AddressManager.java

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

revision 2847 by torben, Tue Jan 26 11:48:37 2016 UTC revision 2855 by torben, Wed Jan 27 20:48:22 2016 UTC
# Line 466  public class AddressManager { Line 466  public class AddressManager {
466                    
467                    
468          private void createFromEntry(AddressSourceEntry entry) {          private void createFromEntry(AddressSourceEntry entry) {
469                    if (entry.husnr == 999) {
470                            return;
471                    }
472                    if (entry.kommunekode == 0 || entry.vejkode == 0) {
473                            return;
474                    }
475                    if (entry.kommunekode < 100) {
476                            return;
477                    }
478                    if (Short.parseShort(Integer.toString(entry.gadeid).substring(0, 4)) != entry.postnr) {
479                            return; //gadeid / postnr mismatch
480                    }
481                    
482                    
483                    
484                  System.out.println("Opretter adresse ud fra " + entry);                  System.out.println("Opretter adresse ud fra " + entry);
485                                    
486                  Address a = new Address();                  Address a = new Address();

Legend:
Removed from v.2847  
changed lines
  Added in v.2855

  ViewVC Help
Powered by ViewVC 1.1.20