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

Fix typo in StateDescriptor method: s/Inferiorty/Inferiority/

This commit is contained in:
Florian Schmaus 2020-07-25 13:55:35 +02:00
parent 3003094130
commit 64fb47c98b
2 changed files with 2 additions and 2 deletions

View file

@ -133,7 +133,7 @@ public abstract class StateDescriptor {
addAndCheckNonExistent(precedenceOver, subordinate);
}
protected void declareInferiortyTo(Class<? extends StateDescriptor> superior) {
protected void declareInferiorityTo(Class<? extends StateDescriptor> superior) {
addAndCheckNonExistent(inferiorTo, superior);
}

View file

@ -91,7 +91,7 @@ public class StreamManagementModule extends ModularXmppClientToServerConnectionM
addPredeccessor(AuthenticatedButUnboundStateDescriptor.class);
addSuccessor(AuthenticatedAndResourceBoundStateDescriptor.class);
declarePrecedenceOver(ResourceBindingStateDescriptor.class);
declareInferiortyTo(CompressionStateDescriptor.class);
declareInferiorityTo(CompressionStateDescriptor.class);
}
@Override