Community
Participate
Working Groups
return ""; //$NON-NLS-1$
}
StringBuffer buf= new StringBuffer();
while (ch > 0 && ch != '"') {
if (!Platform.getOS().equals(Constants.OS_MACOSX)) {
if (ch == '\\') {
ch= getNext();
if (ch != '"') { // Only escape double quotes
buf.append('\\');
} else {
if (Platform.getOS().equals(Constants.OS_WIN32)) {
// @see Bug 26870. Windows requires an extra escape for embedded strings
if (ch > 0) {
buf.append((char)ch);
// @see Bug 255619. Mac OS X requires a slightly different treatment
ch = getNext();