Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
changed default visibility of classes/objects in upnp lib (eclipse tells me that this would improve performance, however, this removes compiler warnings)
orbiter597393db3ba3
diff --git a/source/net/sbbi/upnp/Discovery.java b/source/net/sbbi/upnp/Discovery.javaindex 83b53512a..0bdcd8622 100644--- a/source/net/sbbi/upnp/Discovery.java+++ b/source/net/sbbi/upnp/Discovery.java@@ -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";diff --git a/source/net/sbbi/upnp/ServicesEventing.java b/source/net/sbbi/upnp/ServicesEventing.javaindex f3b7f4612..ee8eb9b48 100644--- a/source/net/sbbi/upnp/ServicesEventing.java+++ b/source/net/sbbi/upnp/ServicesEventing.java@@ -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;}diff --git a/source/net/sbbi/upnp/messages/ActionMessage.java b/source/net/sbbi/upnp/messages/ActionMessage.javaindex 7a1ea86c3..806598bad 100644--- a/source/net/sbbi/upnp/messages/ActionMessage.java+++ b/source/net/sbbi/upnp/messages/ActionMessage.java@@ -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;}