This is very Java-ish :)

Why not using a for-comprehension?

```scala
for {
  ev <- Option(event)
  delta <- Option(event.getDelta)
} {
  // your code ... 
}
```