I'd avoid missing curly brackets if the code style didn't require to omit them. Otherwise LGTM.