Minor change - Updated printf to use %n as opposed to \n to resolve findbugs report exception