mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 05:52:06 +01:00
SMACK-437 Replaced 'String.isEmpty()' with 'String.length() > 0'
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13631 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
238ce7aac3
commit
6b70974269
1 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@ public class ItemProvider implements PacketExtensionProvider
|
|||
{
|
||||
payloadText.append("<").append(parser.getName());
|
||||
|
||||
if (parser.getName().equals(payloadElemName) && (!payloadNS.isEmpty()))
|
||||
if (parser.getName().equals(payloadElemName) && (payloadNS.length() > 0))
|
||||
payloadText.append(" xmlns=\"").append(payloadNS).append("\"");
|
||||
int n = parser.getAttributeCount();
|
||||
|
||||
|
|
Loading…
Reference in a new issue