aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service
diff options
context:
space:
mode:
authorWerner Dittmann <wernerd@java.net>2009-04-05 08:02:19 +0000
committerWerner Dittmann <wernerd@java.net>2009-04-05 08:02:19 +0000
commite310300318f6737ed5c30a9397b57cac233bdf32 (patch)
tree4dd909f80e93f411897257801a27cc78935107fe /src/net/java/sip/communicator/service
parent78458b732d03b9264a9798541289744babdca870 (diff)
downloadjitsi-e310300318f6737ed5c30a9397b57cac233bdf32.zip
jitsi-e310300318f6737ed5c30a9397b57cac233bdf32.tar.gz
jitsi-e310300318f6737ed5c30a9397b57cac233bdf32.tar.bz2
Redo some more "warning removal" stuff.
Diffstat (limited to 'src/net/java/sip/communicator/service')
-rw-r--r--src/net/java/sip/communicator/service/history/event/ProgressEvent.java5
-rw-r--r--src/net/java/sip/communicator/service/msghistory/MessageHistoryService.java48
-rw-r--r--src/net/java/sip/communicator/service/msghistory/event/ProgressEvent.java2
-rw-r--r--src/net/java/sip/communicator/service/protocol/event/MessageDeliveredEvent.java2
4 files changed, 24 insertions, 33 deletions
diff --git a/src/net/java/sip/communicator/service/history/event/ProgressEvent.java b/src/net/java/sip/communicator/service/history/event/ProgressEvent.java
index 9b53dc5..037658f 100644
--- a/src/net/java/sip/communicator/service/history/event/ProgressEvent.java
+++ b/src/net/java/sip/communicator/service/history/event/ProgressEvent.java
@@ -24,11 +24,6 @@ public class ProgressEvent
extends java.util.EventObject
{
/**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
* The start date in the search condition.
*/
private Date startDate = null;
diff --git a/src/net/java/sip/communicator/service/msghistory/MessageHistoryService.java b/src/net/java/sip/communicator/service/msghistory/MessageHistoryService.java
index 726163c..04811b0 100644
--- a/src/net/java/sip/communicator/service/msghistory/MessageHistoryService.java
+++ b/src/net/java/sip/communicator/service/msghistory/MessageHistoryService.java
@@ -29,7 +29,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByStartDate(MetaContact contact, Date startDate)
+ public Collection findByStartDate(MetaContact contact, Date startDate)
throws RuntimeException;
/**
@@ -41,7 +41,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByEndDate(MetaContact contact, Date endDate)
+ public Collection findByEndDate(MetaContact contact, Date endDate)
throws RuntimeException;
/**
@@ -54,7 +54,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByPeriod(MetaContact contact, Date startDate, Date endDate)
+ public Collection findByPeriod(MetaContact contact, Date startDate, Date endDate)
throws RuntimeException;
/**
@@ -69,7 +69,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByPeriod(MetaContact contact, Date startDate, Date endDate, String[] keywords)
+ public Collection findByPeriod(MetaContact contact, Date startDate, Date endDate, String[] keywords)
throws RuntimeException;
/**
@@ -85,7 +85,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByPeriod(MetaContact contact, Date startDate, Date endDate,
+ public Collection findByPeriod(MetaContact contact, Date startDate, Date endDate,
String[] keywords, boolean caseSensitive)
throws RuntimeException;
@@ -98,7 +98,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByKeyword(MetaContact contact, String keyword)
+ public Collection findByKeyword(MetaContact contact, String keyword)
throws RuntimeException;
/**
@@ -111,7 +111,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- Collection<EventObject> findByKeyword(MetaContact contact, String keyword, boolean caseSensitive)
+ Collection findByKeyword(MetaContact contact, String keyword, boolean caseSensitive)
throws RuntimeException;
/**
@@ -123,7 +123,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByKeywords(MetaContact contact, String[] keywords)
+ public Collection findByKeywords(MetaContact contact, String[] keywords)
throws RuntimeException;
/**
@@ -136,7 +136,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByKeywords(MetaContact contact, String[] keywords, boolean caseSensitive)
+ public Collection findByKeywords(MetaContact contact, String[] keywords, boolean caseSensitive)
throws RuntimeException;
/**
@@ -148,7 +148,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findLast(MetaContact contact, int count)
+ public Collection findLast(MetaContact contact, int count)
throws RuntimeException;
/**
@@ -161,7 +161,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findFirstMessagesAfter(MetaContact contact, Date date, int count)
+ public Collection findFirstMessagesAfter(MetaContact contact, Date date, int count)
throws RuntimeException;
/**
@@ -174,7 +174,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findLastMessagesBefore(MetaContact contact, Date date, int count)
+ public Collection findLastMessagesBefore(MetaContact contact, Date date, int count)
throws RuntimeException;
/**
@@ -200,7 +200,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByStartDate(ChatRoom room, Date startDate)
+ public Collection findByStartDate(ChatRoom room, Date startDate)
throws RuntimeException;
/**
@@ -212,7 +212,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByEndDate(ChatRoom room, Date endDate)
+ public Collection findByEndDate(ChatRoom room, Date endDate)
throws RuntimeException;
/**
@@ -225,7 +225,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByPeriod(ChatRoom room, Date startDate, Date endDate)
+ public Collection findByPeriod(ChatRoom room, Date startDate, Date endDate)
throws RuntimeException;
/**
@@ -240,7 +240,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByPeriod(ChatRoom room,
+ public Collection findByPeriod(ChatRoom room,
Date startDate, Date endDate, String[] keywords)
throws RuntimeException;
@@ -257,7 +257,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByPeriod(ChatRoom room, Date startDate, Date endDate,
+ public Collection findByPeriod(ChatRoom room, Date startDate, Date endDate,
String[] keywords, boolean caseSensitive)
throws RuntimeException;
@@ -270,7 +270,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByKeyword(ChatRoom room, String keyword)
+ public Collection findByKeyword(ChatRoom room, String keyword)
throws RuntimeException;
/**
@@ -283,7 +283,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- Collection<EventObject> findByKeyword(ChatRoom room, String keyword,
+ Collection findByKeyword(ChatRoom room, String keyword,
boolean caseSensitive)
throws RuntimeException;
@@ -296,7 +296,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByKeywords(ChatRoom room, String[] keywords)
+ public Collection findByKeywords(ChatRoom room, String[] keywords)
throws RuntimeException;
/**
@@ -309,7 +309,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findByKeywords(ChatRoom room, String[] keywords,
+ public Collection findByKeywords(ChatRoom room, String[] keywords,
boolean caseSensitive)
throws RuntimeException;
@@ -322,7 +322,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findLast(ChatRoom room, int count)
+ public Collection findLast(ChatRoom room, int count)
throws RuntimeException;
/**
@@ -335,7 +335,7 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findFirstMessagesAfter(ChatRoom room, Date date, int count)
+ public Collection findFirstMessagesAfter(ChatRoom room, Date date, int count)
throws RuntimeException;
/**
@@ -348,6 +348,6 @@ public interface MessageHistoryService
* @return Collection of MessageReceivedEvents or MessageDeliveredEvents
* @throws RuntimeException
*/
- public Collection<EventObject> findLastMessagesBefore(ChatRoom room, Date date, int count)
+ public Collection findLastMessagesBefore(ChatRoom room, Date date, int count)
throws RuntimeException;
}
diff --git a/src/net/java/sip/communicator/service/msghistory/event/ProgressEvent.java b/src/net/java/sip/communicator/service/msghistory/event/ProgressEvent.java
index ec62707..16685d6 100644
--- a/src/net/java/sip/communicator/service/msghistory/event/ProgressEvent.java
+++ b/src/net/java/sip/communicator/service/msghistory/event/ProgressEvent.java
@@ -18,8 +18,6 @@ import java.util.*;
public class ProgressEvent
extends java.util.EventObject
{
- private static final long serialVersionUID = 1L;
-
private net.java.sip.communicator.service.history.event.ProgressEvent evt;
/**
diff --git a/src/net/java/sip/communicator/service/protocol/event/MessageDeliveredEvent.java b/src/net/java/sip/communicator/service/protocol/event/MessageDeliveredEvent.java
index dd13639..74cf689 100644
--- a/src/net/java/sip/communicator/service/protocol/event/MessageDeliveredEvent.java
+++ b/src/net/java/sip/communicator/service/protocol/event/MessageDeliveredEvent.java
@@ -19,8 +19,6 @@ import net.java.sip.communicator.service.protocol.*;
public class MessageDeliveredEvent
extends EventObject
{
- private static final long serialVersionUID = 1L;
-
/**
* The contact that has sent this message.
*/