mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +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.
|
// desired behavior.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -580,6 +580,7 @@ public class PacketParserUtils {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case XmlPullParser.END_TAG:
|
case XmlPullParser.END_TAG:
|
||||||
if (parser.getDepth() == initialDepth) {
|
if (parser.getDepth() == initialDepth) {
|
||||||
break outerloop;
|
break outerloop;
|
||||||
|
|
|
@ -66,6 +66,7 @@ public class ForwardedProvider extends ExtensionElementProvider<Forwarded> {
|
||||||
default:
|
default:
|
||||||
LOGGER.warning("Unsupported forwarded packet type: " + name);
|
LOGGER.warning("Unsupported forwarded packet type: " + name);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case XmlPullParser.END_TAG:
|
case XmlPullParser.END_TAG:
|
||||||
if (parser.getDepth() == initialDepth) {
|
if (parser.getDepth() == initialDepth) {
|
||||||
break outerloop;
|
break outerloop;
|
||||||
|
|
|
@ -145,6 +145,7 @@ public class LastActivityManager extends Manager {
|
||||||
// We assume that only a switch to available and chat indicates user activity
|
// 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
|
// since other mode changes could be also a result of some sort of automatism
|
||||||
resetIdleTime();
|
resetIdleTime();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,6 +47,7 @@ public class MUCParserUtils {
|
||||||
reason = parser.nextText();
|
reason = parser.nextText();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case XmlPullParser.END_TAG:
|
case XmlPullParser.END_TAG:
|
||||||
if (parser.getDepth() == initialDepth) {
|
if (parser.getDepth() == initialDepth) {
|
||||||
break outerloop;
|
break outerloop;
|
||||||
|
|
|
@ -254,10 +254,12 @@ public class VCardProvider extends IQProvider<VCard> {
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case XmlPullParser.END_TAG:
|
case XmlPullParser.END_TAG:
|
||||||
if (parser.getDepth() == initialDepth) {
|
if (parser.getDepth() == initialDepth) {
|
||||||
break outerloop;
|
break outerloop;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,6 +132,7 @@ public class DataFormProvider extends ExtensionElementProvider<DataForm> {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case XmlPullParser.END_TAG:
|
case XmlPullParser.END_TAG:
|
||||||
if (parser.getDepth() == initialDepth) {
|
if (parser.getDepth() == initialDepth) {
|
||||||
break outerloop;
|
break outerloop;
|
||||||
|
|
Loading…
Reference in a new issue