This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.installer.factory.configuration-1.1.2 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-factory-configuration.git
commit 7da48f61919188d11d313537138588abfe7b4a8f Author: Carsten Ziegeler <[email protected]> AuthorDate: Fri Jan 9 13:30:10 2015 +0000 SLING-1794 : ConfigInstallTest fails semi-randomly: Configuration is still present git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/installer/factories/configuration@1650522 13f79535-47bb-0310-9956-ffa450edef68 --- .../installer/factories/configuration/impl/ServicesListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/sling/installer/factories/configuration/impl/ServicesListener.java b/src/main/java/org/apache/sling/installer/factories/configuration/impl/ServicesListener.java index ec987e3..a0f1161 100644 --- a/src/main/java/org/apache/sling/installer/factories/configuration/impl/ServicesListener.java +++ b/src/main/java/org/apache/sling/installer/factories/configuration/impl/ServicesListener.java @@ -164,9 +164,9 @@ public class ServicesListener { * @see org.osgi.framework.ServiceListener#serviceChanged(org.osgi.framework.ServiceEvent) */ public void serviceChanged(ServiceEvent event) { - if (event.getType() == ServiceEvent.REGISTERED && this.service == null ) { + if (event.getType() == ServiceEvent.REGISTERED ) { this.retainService(); - } else if ( event.getType() == ServiceEvent.UNREGISTERING && this.service != null ) { + } else if ( event.getType() == ServiceEvent.UNREGISTERING ) { this.releaseService(); } } -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
