org.cybergarage.*: more type arguments

This commit is contained in:
str4d
2013-11-21 06:08:41 +00:00
parent 567c328331
commit c97d07e10a
4 changed files with 5 additions and 5 deletions

View File

@@ -367,7 +367,7 @@ public class HTTPPacket
// Header
////////////////////////////////////////////////
private Vector httpHeaderList = new Vector();
private Vector<HTTPHeader> httpHeaderList = new Vector<HTTPHeader>();
public int getNHeaders()
{
@@ -405,7 +405,7 @@ public class HTTPPacket
public void clearHeaders()
{
httpHeaderList.clear();
httpHeaderList = new Vector();
httpHeaderList = new Vector<HTTPHeader>();
}
public boolean hasHeader(String name)

View File

@@ -23,7 +23,7 @@ import java.util.Vector;
import org.cybergarage.net.HostInterface;
import org.cybergarage.upnp.Device;
public class HTTPServerList extends Vector
public class HTTPServerList extends Vector<HTTPServer>
{
////////////////////////////////////////////////
// Constructor

View File

@@ -17,7 +17,7 @@ package org.cybergarage.http;
import java.util.Vector;
public class ParameterList extends Vector
public class ParameterList extends Vector<Parameter>
{
public ParameterList()
{

View File

@@ -17,7 +17,7 @@ package org.cybergarage.upnp.event;
import java.util.*;
public class PropertyList extends Vector
public class PropertyList extends Vector<Property>
{
////////////////////////////////////////////////
// Constants