From ef5576ef4feaa88ffd1e08e369a54460957093aa Mon Sep 17 00:00:00 2001 From: bagipro Date: Wed, 28 Feb 2024 00:15:14 +0700 Subject: [PATCH] Fixed codestyle check --- jadx-core/src/main/java/jadx/core/xmlgen/ProtoXMLParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jadx-core/src/main/java/jadx/core/xmlgen/ProtoXMLParser.java b/jadx-core/src/main/java/jadx/core/xmlgen/ProtoXMLParser.java index 9fcebaf5b95..2d4f0fd4336 100644 --- a/jadx-core/src/main/java/jadx/core/xmlgen/ProtoXMLParser.java +++ b/jadx-core/src/main/java/jadx/core/xmlgen/ProtoXMLParser.java @@ -95,8 +95,8 @@ private String getAttributeFullName(XmlAttribute a) { if (attrName.isEmpty()) { // some optimization tools clear the name because the Android platform doesn't need it int resId = a.getResourceId(); - String str; - if (resId != 0 && (str = ValuesParser.getAndroidResMap().get(resId)) != null) { + String str = ValuesParser.getAndroidResMap().get(resId); + if (str != null) { namespace = nsMap.get(ParserConstants.ANDROID_NS_URL); // cut type before / int typeEnd = str.indexOf('/');