18 |
|
|
19 |
import dk.daoas.adressevedligehold.beans.Address; |
import dk.daoas.adressevedligehold.beans.Address; |
20 |
import dk.daoas.adressevedligehold.util.DeduplicateHelper; |
import dk.daoas.adressevedligehold.util.DeduplicateHelper; |
21 |
|
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; |
22 |
|
|
23 |
|
|
24 |
|
|
73 |
} |
} |
74 |
} |
} |
75 |
|
|
76 |
|
@SuppressFBWarnings("SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE") |
77 |
public void renameResultTables() throws SQLException { |
public void renameResultTables() throws SQLException { |
78 |
if (AfstandAndenRuteTask.test_mode == true) { |
if (AfstandAndenRuteTask.test_mode == true) { |
79 |
throw new RuntimeException("Can not rename tables in test mode"); |
throw new RuntimeException("Can not rename tables in test mode"); |
101 |
|
|
102 |
public BoundingBox getBoundingbox(short postnr) { |
public BoundingBox getBoundingbox(short postnr) { |
103 |
BoundingBox bb = bbCache.get(postnr); |
BoundingBox bb = bbCache.get(postnr); |
104 |
return bb.clone();//never return the original / cached object |
return new BoundingBox(bb); //never return the original / cached object |
105 |
} |
} |
106 |
|
|
107 |
|
|