diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-01-24 23:58:51 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-01-24 23:58:51 +0100 |
commit | df9dcb1060d44a719e2892446b62cde884a880cf (patch) | |
tree | ed3bf01c8f249162018b33460f81b52ac2f618fb /src/de/gultsch/chat/Conversation.java | |
parent | b273390e26e1d28f6df01fb421d8554cb7588a58 (diff) |
basic persistance layer. refactor some parts of the conversation activity
Diffstat (limited to 'src/de/gultsch/chat/Conversation.java')
-rw-r--r-- | src/de/gultsch/chat/Conversation.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/de/gultsch/chat/Conversation.java b/src/de/gultsch/chat/Conversation.java deleted file mode 100644 index cec96a35..00000000 --- a/src/de/gultsch/chat/Conversation.java +++ /dev/null @@ -1,21 +0,0 @@ -package de.gultsch.chat; - -import java.util.ArrayList; - - -public class Conversation { - private String name; - private ArrayList<Message> msgs = new ArrayList<Message>(); - - public Conversation(String name) { - this.name = name; - } - - public ArrayList<Message> getLastMessages(int count, int offset) { - msgs.add(new Message("this is my last message")); - return msgs; - } - public String getName() { - return this.name; - } -} |