mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-05 02:22:55 +01:00
style: fix missing throws statements on javadoc
This commit is contained in:
parent
dceff41a57
commit
287d4a5922
@ -129,6 +129,10 @@ public final class ResXmlPatcher {
|
|||||||
* Creates a modified network security config file that is more permissive
|
* Creates a modified network security config file that is more permissive
|
||||||
*
|
*
|
||||||
* @param file network security config file
|
* @param file network security config file
|
||||||
|
* @throws TransformerException XML file could not be edited
|
||||||
|
* @throws IOException XML file could not be located
|
||||||
|
* @throws SAXException XML file could not be read
|
||||||
|
* @throws ParserConfigurationException XML nodes could be written
|
||||||
*/
|
*/
|
||||||
public static void modNetworkSecurityConfig(File file)
|
public static void modNetworkSecurityConfig(File file)
|
||||||
throws ParserConfigurationException, TransformerException, IOException, SAXException {
|
throws ParserConfigurationException, TransformerException, IOException, SAXException {
|
||||||
@ -184,13 +188,10 @@ public final class ResXmlPatcher {
|
|||||||
for (int i = 0; i < nodes.getLength(); i++) {
|
for (int i = 0; i < nodes.getLength(); i++) {
|
||||||
Node node = nodes.item(i);
|
Node node = nodes.item(i);
|
||||||
NamedNodeMap attrs = node.getAttributes();
|
NamedNodeMap attrs = node.getAttributes();
|
||||||
|
Node provider = attrs.getNamedItem("android:authorities");
|
||||||
|
|
||||||
if (attrs != null) {
|
if (provider != null) {
|
||||||
Node provider = attrs.getNamedItem("android:authorities");
|
saved = isSaved(file, saved, provider);
|
||||||
|
|
||||||
if (provider != null) {
|
|
||||||
saved = isSaved(file, saved, provider);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -204,13 +205,10 @@ public final class ResXmlPatcher {
|
|||||||
for (int i = 0; i < nodes.getLength(); i++) {
|
for (int i = 0; i < nodes.getLength(); i++) {
|
||||||
Node node = nodes.item(i);
|
Node node = nodes.item(i);
|
||||||
NamedNodeMap attrs = node.getAttributes();
|
NamedNodeMap attrs = node.getAttributes();
|
||||||
|
Node provider = attrs.getNamedItem("android:scheme");
|
||||||
|
|
||||||
if (attrs != null) {
|
if (provider != null) {
|
||||||
Node provider = attrs.getNamedItem("android:scheme");
|
saved = isSaved(file, saved, provider);
|
||||||
|
|
||||||
if (provider != null) {
|
|
||||||
saved = isSaved(file, saved, provider);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user