powered by Jive Software

Why is PacketParserUtils.parseProperties() private?

Hey everyone! I have a quick API question:

Why is PacketParserUtils.parseProperties() private?

I am sending custom IQ packets with Properties across a network. Since I have to parse my own IQ packets via IQProvider.parseIQ(), I have to parse my own Properties out of the Packet.

It would be really nice if I could just use PacketParserUtils.parseProperties(). As of now, I just copy/pasted the code.

Thanks!

Hey Karl,

Thanks for pointing that out. I created the issue SMACK-68 for this enhancement. You can use the next nightly build that includes this improvement.

Regards,

– Gato

That’‘s great, thanks! It’'ll let me remove that code I copied/pasted. I see it made it into Smack 1.5.1:

http://www.jivesoftware.org/builds/smack/docs/1.5.1/changelog.html