mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 05:52:06 +01:00
Small javadoc fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1856 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
e1cc76c345
commit
e5586093f0
1 changed files with 8 additions and 1 deletions
|
@ -475,6 +475,13 @@ class PacketReader {
|
||||||
return registration;
|
return registration;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Parses error sub-packets.
|
||||||
|
*
|
||||||
|
* @param parser the XML parser.
|
||||||
|
* @return an error sub-packet.
|
||||||
|
* @throws Exception if an exception occurs while parsing the packet.
|
||||||
|
*/
|
||||||
private static XMPPError parseError(XmlPullParser parser) throws Exception {
|
private static XMPPError parseError(XmlPullParser parser) throws Exception {
|
||||||
String errorCode = null;
|
String errorCode = null;
|
||||||
for (int i=0; i<parser.getAttributeCount(); i++) {
|
for (int i=0; i<parser.getAttributeCount(); i++) {
|
||||||
|
@ -495,7 +502,7 @@ class PacketReader {
|
||||||
* Parses a message packet.
|
* Parses a message packet.
|
||||||
*
|
*
|
||||||
* @param parser the XML parser, positioned at the start of a message packet.
|
* @param parser the XML parser, positioned at the start of a message packet.
|
||||||
* @return an Message object.
|
* @return a Message object.
|
||||||
* @throws Exception if an exception occurs while parsing the packet.
|
* @throws Exception if an exception occurs while parsing the packet.
|
||||||
*/
|
*/
|
||||||
private static Packet parseMessage(XmlPullParser parser) throws Exception {
|
private static Packet parseMessage(XmlPullParser parser) throws Exception {
|
||||||
|
|
Loading…
Reference in a new issue