You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by dj...@apache.org on 2012/09/07 06:50:37 UTC

svn commit: r1381865 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java

Author: djencks
Date: Fri Sep  7 04:50:37 2012
New Revision: 1381865

URL: http://svn.apache.org/viewvc?rev=1381865&view=rev
Log:
formatting

Modified:
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java?rev=1381865&r1=1381864&r2=1381865&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java (original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java Fri Sep  7 04:50:37 2012
@@ -538,24 +538,24 @@ abstract class BaseMethod
         private void resolve( final BaseMethod baseMethod )
         {
             baseMethod.getComponentManager().log( LogService.LOG_DEBUG, "getting {0}: {1}", new Object[]
-                { baseMethod.getMethodNamePrefix(), baseMethod.getMethodName() }, null );
-
-                // resolve the method
-                Method method;
-                try
-                {
-                    method = baseMethod.findMethod();
-                }
-                catch ( InvocationTargetException ex )
-                {
-                    method = null;
-                    baseMethod.getComponentManager().log( LogService.LOG_WARNING, "{0} cannot be found", new Object[]
-                        { baseMethod.getMethodName() }, ex.getTargetException() );
-                }
+                    {baseMethod.getMethodNamePrefix(), baseMethod.getMethodName()}, null );
 
-                baseMethod.setMethod( method );
+            // resolve the method
+            Method method;
+            try
+            {
+                method = baseMethod.findMethod();
+            }
+            catch ( InvocationTargetException ex )
+            {
+                method = null;
+                baseMethod.getComponentManager().log( LogService.LOG_WARNING, "{0} cannot be found", new Object[]
+                        {baseMethod.getMethodName()}, ex.getTargetException() );
             }
 
+            baseMethod.setMethod( method );
+        }
+
 
         public MethodResult invoke( final BaseMethod baseMethod, final Object componentInstance, final Object rawParameter )
             throws InvocationTargetException