diff options
author | Jan Bartel | 2009-09-21 07:42:17 +0000 |
---|---|---|
committer | Jan Bartel | 2009-09-21 07:42:17 +0000 |
commit | 16dc3c6fdbf6c9efd4d700b03ed4f6e7ec6f1d71 (patch) | |
tree | 850cf3855177364abb93e8de3be63d460681fb4b | |
parent | 35f6e679cfbdcf69887b0ef517f121fc7e3640e8 (diff) | |
download | org.eclipse.jetty.project-16dc3c6fdbf6c9efd4d700b03ed4f6e7ec6f1d71.tar.gz org.eclipse.jetty.project-16dc3c6fdbf6c9efd4d700b03ed4f6e7ec6f1d71.tar.xz org.eclipse.jetty.project-16dc3c6fdbf6c9efd4d700b03ed4f6e7ec6f1d71.zip |
Remove printlns from jetty-plus
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/branches/jetty-7.0.0.x@941 7e9141cc-0065-0410-87d8-b60c137991c4
3 files changed, 3 insertions, 10 deletions
diff --git a/VERSION.txt b/VERSION.txt index b81c9ca7c9..1cd037c270 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1,5 +1,6 @@ jetty-7.0.0.RC7-SNAPSHOT + 289958 StatisticsServlet incorrectly adds StatisticsHandler + + Remove printlns from jetty-plus jetty-7.0.0.RC6 September 18th 2009 + JETTY-719 Document state machine of jetty http client diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java index bab996a064..2c03312645 100644 --- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java +++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java @@ -237,12 +237,10 @@ public class Injection { try { - System.err.println("Value to inject="+lookupInjectedValue()); boolean accessibility = field.isAccessible(); field.setAccessible(true); field.set(injectable, lookupInjectedValue()); field.setAccessible(accessibility); - System.err.println("Injected field "+_fieldName+" of class "+_className); } catch (Exception e) { @@ -265,12 +263,10 @@ public class Injection { try { - System.err.println("Value to inject="+lookupInjectedValue()); boolean accessibility = method.isAccessible(); method.setAccessible(true); method.invoke(injectable, new Object[] {lookupInjectedValue()}); method.setAccessible(accessibility); - System.err.println("Injected method "+_methodName+" of class "+_className); } catch (Exception e) { @@ -311,14 +307,12 @@ public class Injection if (_targetClass == null) _targetClass = Loader.loadClass(null, _className); - System.err.println("Loaded target class "+_targetClass.getName()); - - System.err.println("Looking for method "+_methodName +" with argument of type "+_paramCanonicalName+" on class "+_className); + Class arg = TypeUtil.fromName(_paramCanonicalName); if (arg == null) arg = Loader.loadClass(null, _paramCanonicalName); - System.err.println("Loaded type: "+arg.getName()); + _target = _targetClass.getDeclaredMethod(_methodName, new Class[] {arg}); } @@ -331,7 +325,6 @@ public class Injection //JavaEE spec sec 5.2.4 if (_annotationResourceType != null) { - System.err.println("Validating against annotationResourceType="+_annotationResourceType); if (_target == null) return false; diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/LifeCycleCallback.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/LifeCycleCallback.java index 1ac9876d8b..0554901f46 100644 --- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/LifeCycleCallback.java +++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/LifeCycleCallback.java @@ -109,7 +109,6 @@ public abstract class LifeCycleCallback getTarget().setAccessible(true); getTarget().invoke(instance, __EMPTY_ARGS); getTarget().setAccessible(accessibility); - System.err.println("Calling callback on "+_className+"."+_methodName); } } |