Commit c7868ebd authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Small refactoring.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4338 b35dd754-fafc-0310-a699-88a17e54d16e
parent 87f99cbb
...@@ -300,7 +300,7 @@ public class PresenceManagerImpl extends BasicModule implements PresenceManager ...@@ -300,7 +300,7 @@ public class PresenceManagerImpl extends BasicModule implements PresenceManager
} }
} }
else { else {
Component component = getPresenceComponent(probee); Component component = getComponent(probee);
if (component != null) { if (component != null) {
// If the probee belongs to a component then ask the component to process the // If the probee belongs to a component then ask the component to process the
// probe presence // probe presence
...@@ -385,7 +385,7 @@ public class PresenceManagerImpl extends BasicModule implements PresenceManager ...@@ -385,7 +385,7 @@ public class PresenceManagerImpl extends BasicModule implements PresenceManager
rosterManager = server.getRosterManager(); rosterManager = server.getRosterManager();
} }
public Component getPresenceComponent(JID probee) { private Component getComponent(JID probee) {
// Check for registered components // Check for registered components
Component component = componentManager.getComponent(probee); Component component = componentManager.getComponent(probee);
if (component != null) { if (component != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment