mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-18 10:29:26 +01:00
refactor: drop unused exceptions (#2746)
This commit is contained in:
parent
797fc3e332
commit
a269a8e0d5
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package brut.androlib.res.data.value;
|
||||
|
||||
import brut.androlib.AndrolibException;
|
||||
import brut.androlib.res.data.ResResource;
|
||||
import brut.androlib.res.xml.ResValuesXmlSerializable;
|
||||
import org.xmlpull.v1.XmlSerializer;
|
||||
@ -25,11 +24,9 @@ import java.io.IOException;
|
||||
|
||||
public class ResIdValue extends ResValue implements ResValuesXmlSerializable {
|
||||
@Override
|
||||
public void serializeToResValuesXml(XmlSerializer serializer,
|
||||
ResResource res) throws IOException, AndrolibException {
|
||||
public void serializeToResValuesXml(XmlSerializer serializer, ResResource res) throws IOException {
|
||||
serializer.startTag(null, "item");
|
||||
serializer
|
||||
.attribute(null, "type", res.getResSpec().getType().getName());
|
||||
serializer.attribute(null, "type", res.getResSpec().getType().getName());
|
||||
serializer.attribute(null, "name", res.getResSpec().getName());
|
||||
serializer.endTag(null, "item");
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ public abstract class ResScalarValue extends ResIntBasedValue implements
|
||||
return encodeAsResXmlValue().replace("&", "&").replace("<","<");
|
||||
}
|
||||
|
||||
public boolean hasMultipleNonPositionalSubstitutions() throws AndrolibException {
|
||||
public boolean hasMultipleNonPositionalSubstitutions() {
|
||||
return ResXmlEncoders.hasMultipleNonPositionalSubstitutions(mRawValue);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user