1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +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); addAndCheckNonExistent(precedenceOver, subordinate);
} }
protected void declareInferiortyTo(Class<? extends StateDescriptor> superior) { protected void declareInferiorityTo(Class<? extends StateDescriptor> superior) {
addAndCheckNonExistent(inferiorTo, superior); addAndCheckNonExistent(inferiorTo, superior);
} }

View file

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