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

Fix log message format in Roster: s/{}/{0}/

The MessageFormat used by the JUL Logger requires integers between the
curly brackets (unlike SLF4J).
This commit is contained in:
Florian Schmaus 2019-08-22 10:50:03 +02:00
parent 01e0ae230b
commit d40b16b5a7

View file

@ -1620,7 +1620,7 @@ public final class Roster extends Manager {
@Override
public void onSuccess(IQ packet) {
final XMPPConnection connection = connection();
LOGGER.log(Level.FINE, "RosterResultListener received {}", packet);
LOGGER.log(Level.FINE, "RosterResultListener received {0}", packet);
Collection<Jid> addedEntries = new ArrayList<>();
Collection<Jid> updatedEntries = new ArrayList<>();
Collection<Jid> deletedEntries = new ArrayList<>();