From 64fb47c98b590660233049a97423aeebe9d133b6 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 25 Jul 2020 13:55:35 +0200 Subject: [PATCH] Fix typo in StateDescriptor method: s/Inferiorty/Inferiority/ --- .../main/java/org/jivesoftware/smack/fsm/StateDescriptor.java | 2 +- .../java/org/jivesoftware/smack/sm/StreamManagementModule.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/fsm/StateDescriptor.java b/smack-core/src/main/java/org/jivesoftware/smack/fsm/StateDescriptor.java index aec14b18e..dcff96b67 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/fsm/StateDescriptor.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/fsm/StateDescriptor.java @@ -133,7 +133,7 @@ public abstract class StateDescriptor { addAndCheckNonExistent(precedenceOver, subordinate); } - protected void declareInferiortyTo(Class superior) { + protected void declareInferiorityTo(Class superior) { addAndCheckNonExistent(inferiorTo, superior); } diff --git a/smack-tcp/src/main/java/org/jivesoftware/smack/sm/StreamManagementModule.java b/smack-tcp/src/main/java/org/jivesoftware/smack/sm/StreamManagementModule.java index 58be31a34..1a6c78a93 100644 --- a/smack-tcp/src/main/java/org/jivesoftware/smack/sm/StreamManagementModule.java +++ b/smack-tcp/src/main/java/org/jivesoftware/smack/sm/StreamManagementModule.java @@ -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