1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-12 14:01:08 +01:00

Fix minor codestyle issues

This commit is contained in:
Paul Schaub 2017-12-13 23:10:11 +01:00 committed by Florian Schmaus
parent 200f90ffdc
commit cb18056613
422 changed files with 1404 additions and 1444 deletions

View file

@ -32,7 +32,7 @@ import org.jxmpp.jid.Jid;
public final class GeoLocationManager extends Manager {
private static final Map<XMPPConnection, GeoLocationManager> INSTANCES = new WeakHashMap<XMPPConnection, GeoLocationManager>();
private static final Map<XMPPConnection, GeoLocationManager> INSTANCES = new WeakHashMap<>();
static {
XMPPConnectionRegistry.addConnectionCreationListener(new ConnectionCreationListener() {

View file

@ -91,7 +91,7 @@ public final class GeoLocation implements Serializable, ExtensionElement {
if (accuracy != null) {
error = null;
LOGGER.log(Level.WARNING,
"Error and accurracy set. Ignoring error as it is deprecated in favor of accuracy");
"Error and accuracy set. Ignoring error as it is deprecated in favor of accuracy");
}
this.error = error;