Refactoring : extract method "_checkPreferQuotes"