suppress warnings for upnplib code

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6219 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
lotus committed 2009-07-15 16:22:56 +00:00
1 parent 477807e0e6
commit 52e371b8f7
14 files changed
+16 -9

No files matched your search

+1 -1
View File
@@ -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 );
+1 -1
View File
@@ -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 );
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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 );
+1 -1
View File
@@ -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;