This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.testing.osgi-mock-1.5.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-osgi-mock.git
commit e996493efbec3a26cf9d59edf67986431f0f2189 Author: Stefan Seifert <[email protected]> AuthorDate: Thu Jul 23 21:38:02 2015 +0000 remove unused LOG variable git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/osgi-mock@1692447 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/sling/testing/mock/osgi/MockBundleContext.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java b/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java index 0490475..7f4ab50 100644 --- a/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java +++ b/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java @@ -18,6 +18,10 @@ */ package org.apache.sling.testing.mock.osgi; +import static java.util.Collections.synchronizedList; +import static java.util.Collections.synchronizedMap; +import static java.util.Collections.synchronizedSortedSet; + import java.io.File; import java.io.InputStream; import java.util.ArrayList; @@ -47,22 +51,14 @@ import org.osgi.framework.ServiceFactory; import org.osgi.framework.ServiceListener; import org.osgi.framework.ServiceReference; import org.osgi.framework.ServiceRegistration; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import com.google.common.collect.ImmutableList; -import static java.util.Collections.synchronizedList; -import static java.util.Collections.synchronizedMap; -import static java.util.Collections.synchronizedSortedSet; - /** * Mock {@link BundleContext} implementation. */ class MockBundleContext implements BundleContext { - private static final Logger LOG = LoggerFactory.getLogger(MockBundleContext.class); - private final MockBundle bundle; private final SortedSet<MockServiceRegistration> registeredServices = synchronizedSortedSet(new TreeSet<MockServiceRegistration>()); private final Map<ServiceListener, Filter> serviceListeners = synchronizedMap(new HashMap<ServiceListener, Filter>()); -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
