mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +01:00
Add missing break statements
This commit is contained in:
parent
5e86db4f80
commit
451eb4c826
7 changed files with 8 additions and 0 deletions
|
@ -1070,6 +1070,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
|
|||
// desired behavior.
|
||||
return;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -580,6 +580,7 @@ public class PacketParserUtils {
|
|||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case XmlPullParser.END_TAG:
|
||||
if (parser.getDepth() == initialDepth) {
|
||||
break outerloop;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ public class MUCParserUtils {
|
|||
reason = parser.nextText();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case XmlPullParser.END_TAG:
|
||||
if (parser.getDepth() == initialDepth) {
|
||||
break outerloop;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -132,6 +132,7 @@ public class DataFormProvider extends ExtensionElementProvider<DataForm> {
|
|||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case XmlPullParser.END_TAG:
|
||||
if (parser.getDepth() == initialDepth) {
|
||||
break outerloop;
|
||||
|
|
Loading…
Reference in a new issue