This commit is contained in:
Connor Tumbleson 2012-10-08 14:42:10 -05:00
parent f551710f51
commit 008e1004c2

View File

@ -770,7 +770,7 @@ public class AXmlResourceParser implements XmlResourceParser {
int uri = (namespace != null) int uri = (namespace != null)
? m_strings.find(namespace) ? m_strings.find(namespace)
: -1; : -1;
for (int o = 0; o != m_attributes.length; ++o) { for (int o = 0; o != m_attributes.length; o+=ATTRIBUTE_LENGHT) {
if (name == m_attributes[o + ATTRIBUTE_IX_NAME] if (name == m_attributes[o + ATTRIBUTE_IX_NAME]
&& (uri == -1 || uri == m_attributes[o + ATTRIBUTE_IX_NAMESPACE_URI])) { && (uri == -1 || uri == m_attributes[o + ATTRIBUTE_IX_NAMESPACE_URI])) {
return o / ATTRIBUTE_LENGHT; return o / ATTRIBUTE_LENGHT;