improved the method

This commit is contained in:
Francesco Mangiacrapa 2022-11-11 16:03:16 +01:00
parent 8f911c2ab2
commit ce9a5160ae
1 changed files with 2 additions and 6 deletions

View File

@ -58,12 +58,8 @@ public class BBOXDV implements Serializable {
private Double toDouble(Object toDouble) {
try {
if (toDouble != null) {
return new Double((double) toDouble);
}
return new Double((double) toDouble);
} catch (Exception e) {
LOG.warn(toDouble + " is not castable to " + Double.class.getSimpleName());
}