1
0
Fork 0
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:
Florian Schmaus 2013-05-03 09:48:41 +00:00 committed by flow
parent 238ce7aac3
commit 6b70974269

View file

@ -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();