FELIX-3676 fix misleading logging by checking for instance, not count

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1390590 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/manager/ImmediateComponentManager.java b/scr/src/main/java/org/apache/felix/scr/impl/manager/ImmediateComponentManager.java
index f96a848..543de5c 100644
--- a/scr/src/main/java/org/apache/felix/scr/impl/manager/ImmediateComponentManager.java
+++ b/scr/src/main/java/org/apache/felix/scr/impl/manager/ImmediateComponentManager.java
@@ -611,7 +611,7 @@
         boolean release = obtainReadLock( "ImmediateComponentManager.getService.1" );
         try
         {
-            if ( m_useCount == 0 )
+            if ( m_implementationObject == null )
             {
                 releaseReadLock( "ImmediateComponentManager.getService.1" );
                 try
@@ -619,7 +619,7 @@
                     if ( !collectDependencies() )
                     {
                         log(
-                                LogService.LOG_INFO,
+                                LogService.LOG_DEBUG,
                                 "getService did not win collecting dependencies, try creating object anyway.",
                                 null );
 
@@ -641,7 +641,7 @@
                 obtainWriteLock( "ImmediateComponentManager.getService.1" );
                 try
                 {
-                    if ( m_useCount == 0 )
+                    if ( m_implementationObject == null )
                     {
                         //state should be "Registered"
                         Object result = state().getService( this );