Source format and add suppresswarning to remove a warning in eclipse