incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1512157 - in /sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl: common/DefaultInstanceDescriptionImpl.java common/resource/EstablishedClusterView.java topology/announcement/Announcement.java
Date Fri, 09 Aug 2013 06:48:07 GMT
Author: cziegeler
Date: Fri Aug  9 06:48:07 2013
New Revision: 1512157

URL: http://svn.apache.org/r1512157
Log:
Remove unused code / imports

Modified:
    sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/DefaultInstanceDescriptionImpl.java
    sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/resource/EstablishedClusterView.java
    sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/topology/announcement/Announcement.java

Modified: sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/DefaultInstanceDescriptionImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/DefaultInstanceDescriptionImpl.java?rev=1512157&r1=1512156&r2=1512157&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/DefaultInstanceDescriptionImpl.java
(original)
+++ sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/DefaultInstanceDescriptionImpl.java
Fri Aug  9 06:48:07 2013
@@ -29,8 +29,6 @@ import org.apache.sling.discovery.Cluste
 import org.apache.sling.discovery.InstanceDescription;
 import org.apache.sling.discovery.impl.common.resource.ResourceHelper;
 
-import aQute.bnd.service.ResourceHandle;
-
 /**
  * Base implementation for the InstanceDescription interface.
  * <p>
@@ -178,7 +176,7 @@ public class DefaultInstanceDescriptionI
 		if (rawProps==null) {
 			return null;
 		}
-		
+
 		final HashMap<String, String> filteredProps = new HashMap<String, String>();
 		final Set<Entry<String, String>> entries = rawProps.entrySet();
 		final Iterator<Entry<String, String>> it = entries.iterator();

Modified: sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/resource/EstablishedClusterView.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/resource/EstablishedClusterView.java?rev=1512157&r1=1512156&r2=1512157&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/resource/EstablishedClusterView.java
(original)
+++ sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/resource/EstablishedClusterView.java
Fri Aug  9 06:48:07 2013
@@ -25,7 +25,6 @@ import java.util.LinkedList;
 import java.util.List;
 
 import org.apache.sling.api.resource.Resource;
-import org.apache.sling.api.resource.ResourceResolverFactory;
 import org.apache.sling.discovery.InstanceDescription;
 import org.apache.sling.discovery.impl.Config;
 import org.apache.sling.discovery.impl.common.DefaultClusterViewImpl;
@@ -36,7 +35,7 @@ import org.slf4j.LoggerFactory;
 /**
  * A ClusterView which represents an established view and contains all members
  * as stored in the repository at the according location
- * 
+ *
  */
 public class EstablishedClusterView extends DefaultClusterViewImpl {
 

Modified: sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/topology/announcement/Announcement.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/topology/announcement/Announcement.java?rev=1512157&r1=1512156&r2=1512157&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/topology/announcement/Announcement.java
(original)
+++ sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/topology/announcement/Announcement.java
Fri Aug  9 06:48:07 2013
@@ -39,8 +39,6 @@ import org.apache.sling.discovery.Instan
 import org.apache.sling.discovery.impl.Config;
 import org.apache.sling.discovery.impl.common.DefaultClusterViewImpl;
 import org.apache.sling.discovery.impl.common.DefaultInstanceDescriptionImpl;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 /**
  * An announcement is the information exchanged by the topology connector and
@@ -51,9 +49,6 @@ import org.slf4j.LoggerFactory;
  */
 public class Announcement {
 
-    private final static Logger logger = LoggerFactory
-            .getLogger(Announcement.class);
-
     /** the protocol version this announcement currently represents. Mismatching protocol
versions are
      * used to detect incompatible topology connectors
      */



Mime
View raw message