changed default visibility of classes/objects in upnp lib

(eclipse tells me that this would improve performance,
 however, this removes compiler warnings)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6224 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent eea4c17ef2
commit 597393db3b

@ -78,7 +78,7 @@ import org.apache.commons.logging.LogFactory;
@SuppressWarnings("unchecked")
public class Discovery {
private final static Log log = LogFactory.getLog( Discovery.class );
final static Log log = LogFactory.getLog( Discovery.class );
public final static String ROOT_DEVICES = "upnp:rootdevice";
public final static String ALL_DEVICES = "ssdp:all";

@ -79,7 +79,7 @@ import org.xml.sax.InputSource;
@SuppressWarnings("unchecked")
public class ServicesEventing implements Runnable {
private final static Log log = LogFactory.getLog( ServicesEventing.class );
final static Log log = LogFactory.getLog( ServicesEventing.class );
private final static ServicesEventing singleton = new ServicesEventing();
private boolean inService = false;
@ -227,7 +227,7 @@ public class ServicesEventing implements Runnable {
return null;
}
private Subscription lookupSubscriber( String sid, InetAddress deviceIp ) {
Subscription lookupSubscriber( String sid, InetAddress deviceIp ) {
synchronized( registered ) {
for ( Iterator i = registered.iterator(); i.hasNext(); ) {
Subscription sub = (Subscription)i.next();
@ -240,7 +240,7 @@ public class ServicesEventing implements Runnable {
return null;
}
private Subscription lookupSubscriber( String sid ) {
Subscription lookupSubscriber( String sid ) {
synchronized( registered ) {
for ( Iterator i = registered.iterator(); i.hasNext(); ) {
Subscription sub = (Subscription)i.next();
@ -352,16 +352,16 @@ public class ServicesEventing implements Runnable {
}
}
private class Subscription {
private ServiceEventSubscription sub = null;
private ServiceEventHandler handler = null;
class Subscription {
ServiceEventSubscription sub = null;
ServiceEventHandler handler = null;
}
private class RequestProcessor implements Runnable {
class RequestProcessor implements Runnable {
private Socket client;
private RequestProcessor( Socket client ) {
RequestProcessor( Socket client ) {
this.client = client;
}

@ -428,10 +428,10 @@ public class ActionMessage {
/**
* Input params class container
*/
private class InputParamContainer {
class InputParamContainer {
private String name;
private String value;
String name;
String value;
}

Loading…
Cancel
Save