mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks
This commit is contained in:
parent
2ac452fe1e
commit
4ca2c7cc69
76 changed files with 120 additions and 131 deletions
|
@ -103,7 +103,7 @@ public final class ChatManager extends Manager{
|
|||
* Will attempt to match on the JID in the from field, and then attempt the base JID if no match was found.
|
||||
* This is the most lenient matching.
|
||||
*/
|
||||
BARE_JID;
|
||||
BARE_JID,
|
||||
}
|
||||
|
||||
private final StanzaFilter packetFilter = new OrFilter(MessageTypeFilter.CHAT, new FlexibleStanzaTypeFilter<Message>() {
|
||||
|
|
|
@ -1570,7 +1570,7 @@ public final class Roster extends Manager {
|
|||
else {
|
||||
fullFrom = from.asFullJidIfPossible();
|
||||
// We know that this must be a full JID in this case.
|
||||
assert (fullFrom != null);
|
||||
assert fullFrom != null;
|
||||
}
|
||||
}
|
||||
Map<Resourcepart, Presence> userPresences;
|
||||
|
|
|
@ -123,7 +123,7 @@ public final class RosterEntry extends Manager {
|
|||
* @param item new item
|
||||
*/
|
||||
void updateItem(RosterPacket.Item item) {
|
||||
assert (item != null);
|
||||
assert item != null;
|
||||
this.item = item;
|
||||
}
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ public class RosterPacketProvider extends IQProvider<RosterPacket> {
|
|||
}
|
||||
}
|
||||
ParserUtils.assertAtEndTag(parser);
|
||||
assert (item != null);
|
||||
assert item != null;
|
||||
return item;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue