aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/msghistory
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2006-11-17 16:24:19 +0000
committerDamian Minkov <damencho@jitsi.org>2006-11-17 16:24:19 +0000
commit5a8efd5b8e72fd2fab854dca5981b5a024b72d62 (patch)
tree2d6295b1a0823e481bfa8dfa43106bcf7f19d612 /src/net/java/sip/communicator/impl/msghistory
parent956a627bedae6ede7bc72619e36312e2ae365574 (diff)
downloadjitsi-5a8efd5b8e72fd2fab854dca5981b5a024b72d62.zip
jitsi-5a8efd5b8e72fd2fab854dca5981b5a024b72d62.tar.gz
jitsi-5a8efd5b8e72fd2fab854dca5981b5a024b72d62.tar.bz2
fix two new methods and change their names
Diffstat (limited to 'src/net/java/sip/communicator/impl/msghistory')
-rw-r--r--src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java b/src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java
index 5f489d6..d1fd063 100644
--- a/src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java
+++ b/src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java
@@ -304,7 +304,7 @@ public class MessageHistoryServiceImpl
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection getFirstMessagesAfter(MetaContact contact, Date date,
+ public Collection findFirstMessagesAfter(MetaContact contact, Date date,
int count) throws RuntimeException
{
TreeSet result = new TreeSet(new MessageEventComparator());
@@ -319,7 +319,7 @@ public class MessageHistoryServiceImpl
History history = this.getHistory(null, item);
HistoryReader reader = history.getReader();
- Iterator recs = reader.getFirstRecordsAfter(date, count);
+ Iterator recs = reader.findFirstRecordsAfter(date, count);
while (recs.hasNext())
{
result.add(
@@ -354,7 +354,7 @@ public class MessageHistoryServiceImpl
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection getLastMessagesBefore(MetaContact contact, Date date,
+ public Collection findLastMessagesBefore(MetaContact contact, Date date,
int count) throws RuntimeException
{
TreeSet result = new TreeSet(new MessageEventComparator());
@@ -369,7 +369,7 @@ public class MessageHistoryServiceImpl
History history = this.getHistory(null, item);
HistoryReader reader = history.getReader();
- Iterator recs = reader.getLastRecordsBefore(date, count);
+ Iterator recs = reader.findLastRecordsBefore(date, count);
while (recs.hasNext())
{
result.add(