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

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

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

revision 2926 by torben, Sat Jan 30 14:05:53 2016 UTC revision 2927 by torben, Fri Feb 5 11:01:48 2016 UTC
# Line 30  public class BKConstants extends Constan Line 30  public class BKConstants extends Constan
30          public boolean doCheckHO() {          public boolean doCheckHO() {
31                  return true;                  return true;
32          }          }
33    
34            @Override
35            public boolean validatePostnr(short postnr) {
36                    if (postnr>=3900 && postnr<=3999) { // grønland
37                            return false;
38                    }
39                    
40                    if (postnr == 2412) { // julemanden
41                            return false;
42                    }
43                    
44                    return true;
45            }
46  }  }

Legend:
Removed from v.2926  
changed lines
  Added in v.2927

  ViewVC Help
Powered by ViewVC 1.1.20