Commit 1c55598d authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Minor change.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@209 b35dd754-fafc-0310-a699-88a17e54d16e
parent 0286e868
...@@ -68,7 +68,7 @@ public interface MUCUser extends ChannelHandler { ...@@ -68,7 +68,7 @@ public interface MUCUser extends ChannelHandler {
* @return Iterator over all roles for this user * @return Iterator over all roles for this user
* @throws UnauthorizedException If the caller doesn't have permission * @throws UnauthorizedException If the caller doesn't have permission
*/ */
Iterator getRoles() throws UnauthorizedException; Iterator<MUCRole> getRoles() throws UnauthorizedException;
/** /**
* Removes the role of the use in a particular room.<p> * Removes the role of the use in a particular room.<p>
......
...@@ -72,7 +72,7 @@ public class MUCUserImpl implements MUCUser { ...@@ -72,7 +72,7 @@ public class MUCUserImpl implements MUCUser {
return role; return role;
} }
public Iterator getRoles() throws UnauthorizedException { public Iterator<MUCRole> getRoles() throws UnauthorizedException {
return Collections.unmodifiableCollection(roles.values()).iterator(); return Collections.unmodifiableCollection(roles.values()).iterator();
} }
......
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