mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
ResScalarValue: removed serializeXmlBody().
It didn't make much sense.
This commit is contained in:
parent
8b6e02b41a
commit
4a0febd862
@ -64,7 +64,7 @@ public abstract class ResScalarValue extends ResValue
|
||||
|
||||
serializeExtraXmlAttrs(serializer, res);
|
||||
|
||||
String body = serializeXmlBody(serializer, res);
|
||||
String body = encodeAsResXmlValue();
|
||||
if (! body.isEmpty()) {
|
||||
serializer.ignorableWhitespace(body);
|
||||
}
|
||||
@ -76,11 +76,6 @@ public abstract class ResScalarValue extends ResValue
|
||||
return mType;
|
||||
}
|
||||
|
||||
protected String serializeXmlBody(XmlSerializer serializer,
|
||||
ResResource res) throws IOException, AndrolibException {
|
||||
return encodeAsResXmlValue();
|
||||
}
|
||||
|
||||
protected void serializeExtraXmlAttrs(XmlSerializer serializer,
|
||||
ResResource res) throws IOException {
|
||||
}
|
||||
|
@ -51,12 +51,6 @@ public class ResStringValue extends ResScalarValue {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String serializeXmlBody(XmlSerializer serializer, ResResource res)
|
||||
throws IOException, AndrolibException {
|
||||
return ResXmlEncoders.encodeAsXmlValue(mRawValue);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void serializeExtraXmlAttrs(XmlSerializer serializer,
|
||||
ResResource res) throws IOException {
|
||||
|
Loading…
Reference in New Issue
Block a user