Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2012-05-08 13:08:23 -0400
committerslewis2012-05-08 13:08:23 -0400
commit63ca8587195bb325e95e6e7fd04c96e4fa6716b7 (patch)
tree44c08ed38df611ad1fd69b71180eb69c345f9df4
parent27859ac68444a79ef93ece74dbb1ff1f27f2eb6b (diff)
downloadorg.eclipse.ecf-63ca8587195bb325e95e6e7fd04c96e4fa6716b7.tar.gz
org.eclipse.ecf-63ca8587195bb325e95e6e7fd04c96e4fa6716b7.tar.xz
org.eclipse.ecf-63ca8587195bb325e95e6e7fd04c96e4fa6716b7.zip
Removed unnecessary warnings.
-rw-r--r--framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/ChatRoomMessageEvent.java2
-rw-r--r--framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/ChatMessageEvent.java2
-rw-r--r--framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/TypingMessageEvent.java2
-rw-r--r--framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/XHTMLChatMessageEvent.java5
-rw-r--r--framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/roster/Roster.java13
-rw-r--r--framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/search/UserSearchCompleteEvent.java4
6 files changed, 4 insertions, 24 deletions
diff --git a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/ChatRoomMessageEvent.java b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/ChatRoomMessageEvent.java
index 1eedb911c..5ecb50aef 100644
--- a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/ChatRoomMessageEvent.java
+++ b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/chatroom/ChatRoomMessageEvent.java
@@ -19,8 +19,6 @@ import org.eclipse.ecf.core.identity.ID;
*/
public class ChatRoomMessageEvent implements IChatRoomMessageEvent {
- private static final long serialVersionUID = 241668017694136249L;
-
protected ID fromID;
protected IChatRoomMessage chatMessage;
diff --git a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/ChatMessageEvent.java b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/ChatMessageEvent.java
index c7513141d..b41ab2c42 100644
--- a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/ChatMessageEvent.java
+++ b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/ChatMessageEvent.java
@@ -18,8 +18,6 @@ import org.eclipse.ecf.core.identity.ID;
*/
public class ChatMessageEvent implements IChatMessageEvent {
- private static final long serialVersionUID = 3813922441423314924L;
-
protected ID fromID;
protected IChatMessage message;
protected IChat chat;
diff --git a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/TypingMessageEvent.java b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/TypingMessageEvent.java
index 508f2e989..c7af5979c 100644
--- a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/TypingMessageEvent.java
+++ b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/TypingMessageEvent.java
@@ -15,8 +15,6 @@ import org.eclipse.ecf.core.identity.ID;
public class TypingMessageEvent implements ITypingMessageEvent {
- private static final long serialVersionUID = 6612754945575950442L;
-
protected ID fromID;
protected ITypingMessage typingMessage;
diff --git a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/XHTMLChatMessageEvent.java b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/XHTMLChatMessageEvent.java
index 6c11bf25a..dc261fa2a 100644
--- a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/XHTMLChatMessageEvent.java
+++ b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/im/XHTMLChatMessageEvent.java
@@ -13,10 +13,7 @@ package org.eclipse.ecf.presence.im;
import org.eclipse.ecf.core.identity.ID;
-public class XHTMLChatMessageEvent extends ChatMessageEvent implements
- IXHTMLChatMessageEvent {
-
- private static final long serialVersionUID = -1936360806544087276L;
+public class XHTMLChatMessageEvent extends ChatMessageEvent implements IXHTMLChatMessageEvent {
/**
* @param fromID
diff --git a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/roster/Roster.java b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/roster/Roster.java
index f47b691d8..308b3ab90 100644
--- a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/roster/Roster.java
+++ b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/roster/Roster.java
@@ -10,11 +10,7 @@
*****************************************************************************/
package org.eclipse.ecf.presence.roster;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.List;
-
+import java.util.*;
import org.eclipse.ecf.core.user.IUser;
import org.eclipse.ecf.presence.IPresenceContainerAdapter;
@@ -25,18 +21,15 @@ import org.eclipse.ecf.presence.IPresenceContainerAdapter;
*/
public class Roster extends RosterItem implements IRoster {
- private static final long serialVersionUID = 5600691290032864241L;
-
protected List rosteritems;
protected IUser rosterUser;
protected IPresenceContainerAdapter presenceContainer;
-
+
public Roster(IPresenceContainerAdapter pc, IUser user) {
super(null, (user == null) ? "<unknown>" //$NON-NLS-1$
- : ((user.getName() == null) ? user.getID().getName() : user
- .getName()));
+ : ((user.getName() == null) ? user.getID().getName() : user.getName()));
this.presenceContainer = pc;
this.rosterUser = user;
this.rosteritems = Collections.synchronizedList(new ArrayList());
diff --git a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/search/UserSearchCompleteEvent.java b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/search/UserSearchCompleteEvent.java
index 45c1da105..4d9000314 100644
--- a/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/search/UserSearchCompleteEvent.java
+++ b/framework/bundles/org.eclipse.ecf.presence/src/org/eclipse/ecf/presence/search/UserSearchCompleteEvent.java
@@ -15,10 +15,6 @@ package org.eclipse.ecf.presence.search;
*/
public class UserSearchCompleteEvent implements IUserSearchCompleteEvent {
- /**
- *
- */
- private static final long serialVersionUID = 1563126741187575435L;
private ISearch search;
public UserSearchCompleteEvent(ISearch search) {

Back to the top