remove printlns from jetty-plus.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@977 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
d94bdb791f
commit
35dfcc2d4b
|
@ -14,6 +14,7 @@ jetty-7.0.1-SNAPSHOT
|
|||
|
||||
jetty-7.0.0
|
||||
+ 289958 StatisticsServlet incorrectly adds StatisticsHandler
|
||||
+ Remove printlns from jetty-plus
|
||||
+ 290081 Eager consume LF after CR
|
||||
+ 290761 HttpExchange isDone handles intercepted events.
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue