geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r767903 - in /geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context: BlueprintObjectRecipe.java WaitForDependencyException.java
Date Thu, 23 Apr 2009 12:25:42 GMT
Author: gnodet
Date: Thu Apr 23 12:25:41 2009
New Revision: 767903

URL: http://svn.apache.org/viewvc?rev=767903&view=rev
Log:
Remove unused class and remove superflous arguments in Method.invoke()

Removed:
    geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/WaitForDependencyException.java
Modified:
    geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/BlueprintObjectRecipe.java

Modified: geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/BlueprintObjectRecipe.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/BlueprintObjectRecipe.java?rev=767903&r1=767902&r2=767903&view=diff
==============================================================================
--- geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/BlueprintObjectRecipe.java
(original)
+++ geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/context/BlueprintObjectRecipe.java
Thu Apr 23 12:25:41 2009
@@ -95,7 +95,7 @@
         final Object obj = super.internalCreate(expectedType, lazyRefAllowed);
         if (initMethod != null) {
             try {
-                initMethod.invoke(obj, new Object[] {});
+                initMethod.invoke(obj);
             } catch (InvocationTargetException e) {
                 Throwable root = e.getTargetException();
                 throw new ConstructionException("init-method generated exception", root);
@@ -120,7 +120,7 @@
         }
         if (destroyMethod != null) {
             try {
-                destroyMethod.invoke(obj, new Object[] {});
+                destroyMethod.invoke(obj);
             } catch (Exception e) {
                 e.printStackTrace();
             }



Mime
View raw message