You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cl...@apache.org on 2013/09/07 08:26:21 UTC
svn commit: r1520732 -
/felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java
Author: clement
Date: Sat Sep 7 06:26:21 2013
New Revision: 1520732
URL: http://svn.apache.org/r1520732
Log:
Remove code used for debugging in the configuration handler (a try/catch block)
Modified:
felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java
Modified: felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java?rev=1520732&r1=1520731&r2=1520732&view=diff
==============================================================================
--- felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java (original)
+++ felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java Sat Sep 7 06:26:21 2013
@@ -127,7 +127,6 @@ public class ConfigurationHandler extend
if (fieldName == null && methodName != null) {
name = methodName;
} else if (fieldName == null && paramIndex != null) {
- try {
// Extract the name from the arguments.
MethodMetadata[] constructors = getFactory().getPojoMetadata().getConstructors();
if (constructors.length != 1) {
@@ -143,9 +142,6 @@ public class ConfigurationHandler extend
constructors[0].getArguments());
}
}
- } catch(Throwable e) {
- e.printStackTrace();
- }
} else {
name = fieldName;
}