Fix broken build due to checkstyle violations
Apply checkstyle configuration to project templates