ResStringValue: use mRawValue instead of mValue.

This commit is contained in:
Ryszard Wiśniewski 2011-05-09 10:49:22 +02:00
parent b0ad7517b7
commit 70834e2342

View File

@ -23,7 +23,6 @@ import brut.androlib.res.AndrolibResources;
*/ */
public class ResStringValue extends ResScalarValue public class ResStringValue extends ResScalarValue
implements ResValuesXmlSerializable { implements ResValuesXmlSerializable {
private final String mValue;
public ResStringValue(String value) { public ResStringValue(String value) {
this(value, "string"); this(value, "string");
@ -31,15 +30,14 @@ public class ResStringValue extends ResScalarValue
public ResStringValue(String value, String type) { public ResStringValue(String value, String type) {
super(type, value); super(type, value);
this.mValue = value;
} }
public String getValue() { public String getValue() {
return mValue; return mRawValue;
} }
@Override @Override
public String toResXmlFormat() { public String toResXmlFormat() {
return mValue; return mRawValue;
} }
} }