Commit bb0063b8 authored by guus's avatar guus

I'd like MUCRoom to extend another interface (Result). The MUCRoom interface...

I'd like MUCRoom to extend another interface (Result). The MUCRoom interface was recently changed to extend the Externalizable interface. As duplicate inheritance in Java isn't an option, I refactored MUCRoom to be an abstract class instead. The classes that implemented MUCRoom didn't seem to extend any other class, that's why I hope I can get away with this. :) Gato, do you agree? I'd like your feedback before I proceed.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches@9170 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2dae01fc
......@@ -47,7 +47,7 @@ import java.util.concurrent.locks.ReentrantReadWriteLock;
*
* @author Gaston Dombiak
*/
public class LocalMUCRoom implements MUCRoom {
public class LocalMUCRoom extends MUCRoom {
/**
* The server hosting the room.
......@@ -2197,4 +2197,15 @@ public class LocalMUCRoom implements MUCRoom {
emptyDate = otherRoom.emptyDate;
savedToDB = otherRoom.savedToDB;
}
/*
* (non-Javadoc)
* @see org.jivesoftware.util.resultsetmanager.Result#getUID()
*/
@Override
public String getUID()
{
// name is unique for each one particular MUC service.
return name;
}
}
\ No newline at end of file
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