aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/history
diff options
context:
space:
mode:
authorEmil Ivov <emcho@jitsi.org>2009-03-28 15:47:57 +0000
committerEmil Ivov <emcho@jitsi.org>2009-03-28 15:47:57 +0000
commitbdc11797ae57aff3bdfc1c266c3fca0eb6347841 (patch)
tree9619f28d077ebab94ab030217570feb624f3e1b3 /src/net/java/sip/communicator/impl/history
parenta407e1f7cf0fa579af0ae62741eb882d7111ab20 (diff)
downloadjitsi-bdc11797ae57aff3bdfc1c266c3fca0eb6347841.zip
jitsi-bdc11797ae57aff3bdfc1c266c3fca0eb6347841.tar.gz
jitsi-bdc11797ae57aff3bdfc1c266c3fca0eb6347841.tar.bz2
Resolves a few of our 4000+ Eclipse warnings
Diffstat (limited to 'src/net/java/sip/communicator/impl/history')
-rw-r--r--src/net/java/sip/communicator/impl/history/DBStructSerializer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/history/DBStructSerializer.java b/src/net/java/sip/communicator/impl/history/DBStructSerializer.java
index 77e48c2..1bc05d8 100644
--- a/src/net/java/sip/communicator/impl/history/DBStructSerializer.java
+++ b/src/net/java/sip/communicator/impl/history/DBStructSerializer.java
@@ -137,7 +137,7 @@ public class DBStructSerializer {
NodeList nodes = structNode.getChildNodes();
int count = nodes.getLength();
- ArrayList propertyNames = new ArrayList(count);
+ ArrayList<String> propertyNames = new ArrayList<String>(count);
for (int i = 0; i < count; i++)
{
@@ -166,7 +166,7 @@ public class DBStructSerializer {
private HistoryID loadID(Node parent) throws ParseException
{
Element idnode = findElement(parent, "id");
- ArrayList al = loadID(new ArrayList(), idnode);
+ ArrayList<String> al = loadID(new ArrayList<String>(), idnode);
String[] id = new String[al.size()];
al.toArray(id);
@@ -174,7 +174,7 @@ public class DBStructSerializer {
return HistoryID.createFromID(id);
}
- private ArrayList loadID(ArrayList loadedIDs, Node parent)
+ private ArrayList<String> loadID(ArrayList<String> loadedIDs, Node parent)
throws ParseException {
Element node = findElement(parent, "component");
if (node != null)