Improve code snippet for line length rule