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

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

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

revision 2923 by torben, Thu Feb 4 08:39:26 2016 UTC revision 2924 by torben, Fri Feb 5 08:01:18 2016 UTC
# Line 31  public class AddressManager { Line 31  public class AddressManager {
31                    
32          private TaskLogger logger = TaskLogger.getInstance();          private TaskLogger logger = TaskLogger.getInstance();
33                    
34            private int duplicateCount;
35                    
36          List<Address> addressList;          List<Address> addressList;
37                    
# Line 326  public class AddressManager { Line 327  public class AddressManager {
327                                          }                                          }
328                                  }                                                                }                              
329                          } else {                          } else {
330                                    duplicateCount++;
331                                  logger.info( "Double visit monday " + addr);                                  logger.info( "Double visit monday " + addr);
332                                    return; // if the entry is duplicate on one day that it covers - then it will be as well on all the othters
333                          }                          }
334    
335                  }                  }
# Line 348  public class AddressManager { Line 351  public class AddressManager {
351                                          }                                          }
352                                  }                                  }
353                          } else {                          } else {
354                                    duplicateCount++;
355                                  logger.info( "Double visit tuesday " + addr);                                  logger.info( "Double visit tuesday " + addr);
356                                    return; // if the entry is duplicate on one day that it covers - then it will be as well on all the othters
357                          }                                                        }                              
358                  }                  }
359    
# Line 368  public class AddressManager { Line 373  public class AddressManager {
373                                          }                                          }
374                                  }                                  }
375                          } else {                          } else {
376                                    duplicateCount++;
377                                  logger.info( "Double visit wednesday " + addr);                                  logger.info( "Double visit wednesday " + addr);
378                                    return; // if the entry is duplicate on one day that it covers - then it will be as well on all the othters
379                          }                                        }              
380                  }                  }
381    
# Line 390  public class AddressManager { Line 397  public class AddressManager {
397                                          }                                          }
398                                  }                                  }
399                          } else {                          } else {
400                                    duplicateCount++;
401                                  logger.info( "Double visit thursday " + addr);                                  logger.info( "Double visit thursday " + addr);
402                                    return; // if the entry is duplicate on one day that it covers - then it will be as well on all the othters
403                          }                                                                }                                      
404                  }                  }
405    
# Line 411  public class AddressManager { Line 420  public class AddressManager {
420                                          }                                          }
421                                  }                                  }
422                          } else {                          } else {
423                                    duplicateCount++;
424                                  logger.info( "Double visit friday " + addr);                                  logger.info( "Double visit friday " + addr);
425                                    return; // if the entry is duplicate on one day that it covers - then it will be as well on all the othters
426                          }                                }      
427                  }                  }
428    
# Line 433  public class AddressManager { Line 444  public class AddressManager {
444                                          }                                          }
445                                  }                                  }
446                          } else {                          } else {
447                                    duplicateCount++;
448                                  logger.info( "Double visit saturday " + addr);                                  logger.info( "Double visit saturday " + addr);
449                                    return; // if the entry is duplicate on one day that it covers - then it will be as well on all the othters
450                          }                                                                }                                      
451                  }                  }
452    
# Line 454  public class AddressManager { Line 467  public class AddressManager {
467                                          }                                          }
468                                  }                                  }
469                          } else {                          } else {
470                                    duplicateCount++;
471                                  logger.info( "Double visit sunday " + addr);                                  logger.info( "Double visit sunday " + addr);
472                                    return; // if the entry is duplicate on one day that it covers - then it will be as well on all the othters
473                          }                                                                }                                      
474                  }                  }
475                                    
# Line 659  public class AddressManager { Line 674  public class AddressManager {
674                  return Collections.unmodifiableMap( unknownStreets );                  return Collections.unmodifiableMap( unknownStreets );
675          }          }
676                    
677                    public int getDuplicateCount() {
678                    return duplicateCount;
679            }
680                    
681          public int getRejectedCount() {          public int getRejectedCount() {
682                  return rejectedEntries.size();                  return rejectedEntries.size();

Legend:
Removed from v.2923  
changed lines
  Added in v.2924

  ViewVC Help
Powered by ViewVC 1.1.20