ExtMXSerializer.setProperty(): fixed a bug, which makes impossible to set PROPERTY_DEFAULT_ENCODING.

This commit is contained in:
Ryszard Wiśniewski 2010-03-26 14:23:16 +01:00
parent 35efa39be3
commit 96e62f955b

View File

@ -51,8 +51,9 @@ public class ExtMXSerializer extends MXSerializer {
throws IllegalArgumentException, IllegalStateException {
if (PROPERTY_DEFAULT_ENCODING.equals(name)) {
mDefaultEncoding = (String) value;
} else {
super.setProperty(name, value);
}
super.setProperty(name, value);
}
public final static String PROPERTY_DEFAULT_ENCODING = "DEFAULT_ENCODING";