mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-09 20:41:07 +01:00
Add a test to ensure all Conditions have a Type mapping
This commit is contained in:
parent
199311eda1
commit
25114b3fc1
2 changed files with 36 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ public class XMPPError extends AbstractError {
|
|||
public static final String ERROR = "error";
|
||||
|
||||
private static final Logger LOGGER = Logger.getLogger(XMPPError.class.getName());
|
||||
private static final Map<Condition, Type> CONDITION_TO_TYPE = new HashMap<Condition, Type>();
|
||||
static final Map<Condition, Type> CONDITION_TO_TYPE = new HashMap<Condition, Type>();
|
||||
|
||||
static {
|
||||
CONDITION_TO_TYPE.put(Condition.bad_request, Type.MODIFY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue