Format code which has fault in terms of scalastyle