Suggestion: remove the else and move the whole else block one indention to the left.
The continue already prevents it from being executed:
```
if (...) {
    continue;
}
... all the other stuff ...
```