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") @SuppressWarnings("unchecked")
public class Discovery { 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 ROOT_DEVICES = "upnp:rootdevice";
public final static String ALL_DEVICES = "ssdp:all"; public final static String ALL_DEVICES = "ssdp:all";

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

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

Loading…
Cancel
Save