aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/whiteboard
diff options
context:
space:
mode:
authorLyubomir Marinov <lyubomir.marinov@jitsi.org>2009-08-31 13:15:22 +0000
committerLyubomir Marinov <lyubomir.marinov@jitsi.org>2009-08-31 13:15:22 +0000
commitd84529346a391f3fd33d3bff5ebb808a837429d3 (patch)
tree85e3fb45421099bf6fe6429f491c13e185c5f85b /src/net/java/sip/communicator/plugin/whiteboard
parent45e152d9b19a7ebd4dcd3cb0631a4cc3f283ba2a (diff)
downloadjitsi-d84529346a391f3fd33d3bff5ebb808a837429d3.zip
jitsi-d84529346a391f3fd33d3bff5ebb808a837429d3.tar.gz
jitsi-d84529346a391f3fd33d3bff5ebb808a837429d3.tar.bz2
Commits another part of the patch provided by Sebastien Vincent on the dev mailing list in an e-mail with the subject "Fix lot of warnings in the code" which fixes warnings in the src directory.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/whiteboard')
-rw-r--r--src/net/java/sip/communicator/plugin/whiteboard/WhiteboardActivator.java4
-rw-r--r--src/net/java/sip/communicator/plugin/whiteboard/WhiteboardSessionManager.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardActivator.java b/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardActivator.java
index 1a25ded..0079077 100644
--- a/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardActivator.java
+++ b/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardActivator.java
@@ -84,7 +84,7 @@ public class WhiteboardActivator implements BundleActivator
*/
public static List getWhiteboardOperationSets()
{
- List whiteboardOpSets = new ArrayList();
+ List<OperationSet> whiteboardOpSets = new ArrayList<OperationSet>();
ServiceReference[] serRefs = null;
try
@@ -118,4 +118,4 @@ public class WhiteboardActivator implements BundleActivator
return whiteboardOpSets;
}
-} \ No newline at end of file
+}
diff --git a/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardSessionManager.java b/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardSessionManager.java
index 21f60ee..775f3b7 100644
--- a/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardSessionManager.java
+++ b/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardSessionManager.java
@@ -462,7 +462,7 @@ public class WhiteboardSessionManager
for(int i =0; i < wbFrames.size (); i++)
{
- whiteboardFrame = (WhiteboardFrame) wbFrames.get (i);
+ whiteboardFrame = wbFrames.get (i);
if (whiteboardFrame.getContact() != null
&& whiteboardFrame.getContact().equals (contact))
@@ -654,4 +654,4 @@ public class WhiteboardSessionManager
wbFrames.remove(frame);
}
}
-} \ No newline at end of file
+}