From 89655f6233ed4ef41830719bb77b51dc12787cd5 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Wed, 31 May 2017 21:23:34 +0200 Subject: rename downgrade attack to downgraded sasl mechanism --- src/main/java/de/pixart/messenger/entities/Account.java | 2 +- src/main/java/de/pixart/messenger/entities/Presences.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/de/pixart/messenger/entities') diff --git a/src/main/java/de/pixart/messenger/entities/Account.java b/src/main/java/de/pixart/messenger/entities/Account.java index 4907d26b6..437dfa47a 100644 --- a/src/main/java/de/pixart/messenger/entities/Account.java +++ b/src/main/java/de/pixart/messenger/entities/Account.java @@ -183,7 +183,7 @@ public class Account extends AbstractEntity { case SESSION_FAILURE: return R.string.session_failure; case DOWNGRADE_ATTACK: - return R.string.downgrade_attack; + return R.string.sasl_downgrade; case HOST_UNKNOWN: return R.string.account_status_host_unknown; case POLICY_VIOLATION: diff --git a/src/main/java/de/pixart/messenger/entities/Presences.java b/src/main/java/de/pixart/messenger/entities/Presences.java index 3f3f670da..d57515392 100644 --- a/src/main/java/de/pixart/messenger/entities/Presences.java +++ b/src/main/java/de/pixart/messenger/entities/Presences.java @@ -144,6 +144,6 @@ public class Presences { } } } - return new Pair(typeMap, nameMap); + return new Pair<>(typeMap, nameMap); } } -- cgit v1.2.3