suppress warnings for upnplib code

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6219 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 16 years ago
parent 477807e0e6
commit 52e371b8f7

@ -75,7 +75,7 @@ import org.apache.commons.logging.LogFactory;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class Discovery {
private final static Log log = LogFactory.getLog( Discovery.class );

@ -71,7 +71,7 @@ import org.apache.commons.logging.LogFactory;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class DiscoveryAdvertisement implements Runnable {
private final static Log log = LogFactory.getLog( DiscoveryAdvertisement.class );

@ -68,7 +68,7 @@ import org.apache.commons.logging.LogFactory;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class DiscoveryListener implements Runnable {
private final static Log log = LogFactory.getLog( DiscoveryListener.class );

@ -56,7 +56,7 @@ import java.util.StringTokenizer;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class HttpResponse {
private String header;

@ -57,7 +57,7 @@ import org.xml.sax.Attributes;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class ServiceEventMessageParser extends org.xml.sax.helpers.DefaultHandler {
private boolean readPropertyName = false;

@ -76,7 +76,7 @@ import org.xml.sax.InputSource;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class ServicesEventing implements Runnable {
private final static Log log = LogFactory.getLog( ServicesEventing.class );

@ -61,7 +61,7 @@ import org.apache.commons.logging.LogFactory;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class UPNPDevice {
private final static Log log = LogFactory.getLog( UPNPDevice.class );

@ -66,7 +66,7 @@ import net.sbbi.upnp.services.*;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class UPNPRootDevice extends UPNPDevice {
private final static Log log = LogFactory.getLog( UPNPRootDevice.class );

@ -77,6 +77,7 @@ import net.sbbi.upnp.services.UPNPService;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class InternetGatewayDevice {
private final static Log log = LogFactory.getLog( InternetGatewayDevice.class );
@ -226,6 +227,7 @@ public class InternetGatewayDevice {
* @deprecated use generic {@link #getDevices(int)} or {@link #getDevices(int, int, int, NetworkInterface)} methods since this one is not
* usable with all IGD devices ( will only work with devices implementing the urn:schemas-upnp-org:service:WANIPConnection:1 service )
*/
@Deprecated
public static InternetGatewayDevice[] getIPDevices( int timeout ) throws IOException {
return lookupDeviceDevices( timeout, Discovery.DEFAULT_TTL, Discovery.DEFAULT_MX, true, false, null );
}
@ -238,6 +240,7 @@ public class InternetGatewayDevice {
* @deprecated use generic {@link #getDevices(int)} or {@link #getDevices(int, int, int, NetworkInterface)} methods since this one is not
* usable with all IGD devices ( will only work with devices implementing the urn:schemas-upnp-org:service:WANPPPConnection:1 service )
*/
@Deprecated
public static InternetGatewayDevice[] getPPPDevices( int timeout ) throws IOException {
return lookupDeviceDevices( timeout, Discovery.DEFAULT_TTL, Discovery.DEFAULT_MX, false, true, null );
}

@ -66,6 +66,7 @@ import javax.xml.parsers.*;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class ActionMessage {
private final static Log log = LogFactory.getLog( ActionMessage.class );

@ -56,6 +56,7 @@ import java.util.*;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class ActionResponse {
private Map outArguments = new HashMap();

@ -54,6 +54,7 @@ import java.util.*;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class ServiceAction {
protected String name;

@ -61,7 +61,7 @@ import net.sbbi.upnp.messages.UPNPResponseException;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class ServiceStateVariable implements ServiceStateVariableTypes {
private StateVariableMessage stateVarMsg = null;

@ -62,6 +62,7 @@ import net.sbbi.upnp.devices.*;
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
* @version 1.0
*/
@SuppressWarnings("unchecked")
public class UPNPService {
protected String serviceType;

Loading…
Cancel
Save