1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 18:48:00 +01:00

Add missing break statements

This commit is contained in:
Florian Schmaus 2015-03-23 09:52:01 +01:00
parent 5e86db4f80
commit 451eb4c826
7 changed files with 8 additions and 0 deletions

View file

@ -1070,6 +1070,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
// desired behavior.
return;
}
break;
default:
break;
}

View file

@ -580,6 +580,7 @@ public class PacketParserUtils {
}
break;
}
break;
case XmlPullParser.END_TAG:
if (parser.getDepth() == initialDepth) {
break outerloop;

View file

@ -66,6 +66,7 @@ public class ForwardedProvider extends ExtensionElementProvider<Forwarded> {
default:
LOGGER.warning("Unsupported forwarded packet type: " + name);
}
break;
case XmlPullParser.END_TAG:
if (parser.getDepth() == initialDepth) {
break outerloop;

View file

@ -145,6 +145,7 @@ public class LastActivityManager extends Manager {
// We assume that only a switch to available and chat indicates user activity
// since other mode changes could be also a result of some sort of automatism
resetIdleTime();
break;
default:
break;
}

View file

@ -47,6 +47,7 @@ public class MUCParserUtils {
reason = parser.nextText();
break;
}
break;
case XmlPullParser.END_TAG:
if (parser.getDepth() == initialDepth) {
break outerloop;

View file

@ -254,10 +254,12 @@ public class VCardProvider extends IQProvider<VCard> {
default:
break;
}
break;
case XmlPullParser.END_TAG:
if (parser.getDepth() == initialDepth) {
break outerloop;
}
break;
default:
break;
}

View file

@ -132,6 +132,7 @@ public class DataFormProvider extends ExtensionElementProvider<DataForm> {
}
break;
}
break;
case XmlPullParser.END_TAG:
if (parser.getDepth() == initialDepth) {
break outerloop;