FLOE-5485: Correcting syntax issues.

Corrected syntax and styling issues as recommended by the code review comments.