Im trying to make a function that inserts 0 into DB when 'Time' value is 0 or null. (In Spring Controller)

This is what I did.

```
if(result.getTime() == null || "")  {
result.setTime("0");
}

```

But I keep getting an error. Is that even a right method?