It was stated, I believe, that the first of these two is correct.
After any semicolon, there should be a new line.