Community
Participate
Working Groups
// xml:space="preserve" means preserve space,
// everything else means back to default.
if (defaultValue.compareTo(PRESERVE) == 0)
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=159566
// defaultValue could potentially be NULL
if(PRESERVE.equals(defaultValue))
formatContraints.setInPreserveSpaceElement(true);
else
formatContraints.setInPreserveSpaceElement(false);