improved the method
This commit is contained in:
parent
8f911c2ab2
commit
ce9a5160ae
|
@ -58,11 +58,7 @@ 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());
|
||||
|
|
Loading…
Reference in New Issue