forked from I2P_Developers/i2p.i2p
org.cybergarage.*: more type arguments
This commit is contained in:
@@ -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)
|
||||
|
@@ -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
|
||||
|
@@ -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()
|
||||
{
|
||||
|
@@ -17,7 +17,7 @@ package org.cybergarage.upnp.event;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class PropertyList extends Vector
|
||||
public class PropertyList extends Vector<Property>
|
||||
{
|
||||
////////////////////////////////////////////////
|
||||
// Constants
|
||||
|
Reference in New Issue
Block a user