commit | 86aed6f888513a3c51747e43a5db436acbac4cf9 | [log] [tgz] |
---|---|---|
author | Clement Escoffier <clement@apache.org> | Sat Sep 07 06:26:21 2013 +0000 |
committer | Clement Escoffier <clement@apache.org> | Sat Sep 07 06:26:21 2013 +0000 |
tree | 044d2a923995e4649fde9050cc971059b91960f1 | |
parent | 585811eae87ff957a7165bcaf6d85158ce7d7f55 [diff] |
Remove code used for debugging in the configuration handler (a try/catch block) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1520732 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java index 0c6a7c6..6ee8e4e 100644 --- a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java +++ b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/configuration/ConfigurationHandler.java
@@ -127,7 +127,6 @@ 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 @@ constructors[0].getArguments()); } } - } catch(Throwable e) { - e.printStackTrace(); - } } else { name = fieldName; }