301 |
if (orgAddress == null) |
if (orgAddress == null) |
302 |
continue; |
continue; |
303 |
|
|
304 |
|
if (orgAddress.daekningsType != DaekningsType.DAEKNING_IKKEDAEKKET) { |
305 |
|
//kan være at adressen er blevet markeret dækket og - find-nærmeste data ikke er opdateret i mellemtiden |
306 |
|
continue; |
307 |
|
} |
308 |
|
|
309 |
Address targetAddress = idAddressMap.get(eb.targetId); |
Address targetAddress = idAddressMap.get(eb.targetId); |
310 |
if (targetAddress == null) |
if (targetAddress == null) { |
311 |
continue; |
continue; |
312 |
|
} |
313 |
|
|
314 |
if (orgAddress.distributor != null && orgAddress.distributor.equals("LUKKET")) { |
|
315 |
|
if ( StringUtils.equals(orgAddress.distributor, "LUKKET") ) { |
316 |
continue; |
continue; |
317 |
} |
} |
318 |
|
|
319 |
if (targetAddress.distributor.equals("LUKKET")) { |
|
320 |
|
|
321 |
|
if ( StringUtils.equals(targetAddress.distributor, "LUKKET") ) { |
322 |
continue; |
continue; |
323 |
} |
} |
324 |
|
|