felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clem...@apache.org
Subject svn commit: r635775 - /felix/sandbox/clement/ipojo/core/src/main/java/org/apache/felix/ipojo/InstanceManager.java
Date Tue, 11 Mar 2008 01:43:01 GMT
Author: clement
Date: Mon Mar 10 18:42:57 2008
New Revision: 635775

URL: http://svn.apache.org/viewvc?rev=635775&view=rev
Log:
Remove a useless trace
(printing the stack trace when an intercepted method throws an error)

Modified:
    felix/sandbox/clement/ipojo/core/src/main/java/org/apache/felix/ipojo/InstanceManager.java

Modified: felix/sandbox/clement/ipojo/core/src/main/java/org/apache/felix/ipojo/InstanceManager.java
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo/core/src/main/java/org/apache/felix/ipojo/InstanceManager.java?rev=635775&r1=635774&r2=635775&view=diff
==============================================================================
--- felix/sandbox/clement/ipojo/core/src/main/java/org/apache/felix/ipojo/InstanceManager.java
(original)
+++ felix/sandbox/clement/ipojo/core/src/main/java/org/apache/felix/ipojo/InstanceManager.java
Mon Mar 10 18:42:57 2008
@@ -797,10 +797,7 @@
      * @param methodId : method id
      * @param error : throwable object.
      */
-    public void onError(Object pojo, String methodId, Throwable error) {
-        System.out.println("Error detected in the pojo : " + pojo + " - " + error.getMessage());
-        error.printStackTrace();
-        
+    public void onError(Object pojo, String methodId, Throwable error) {        
         if (m_methodRegistration == null) {
             return;
         }



Mime
View raw message