Adding a fix for false-positive for empty classes

Classes without body get the "The closing brace for the %s must go on the next line after the body" error, which is incorrect.