|
|
@ -38,10 +38,7 @@ final class ClosedConnection
|
|
|
|
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
|
|
|
|
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
|
|
|
|
{
|
|
|
|
{
|
|
|
|
final String methodName = method.getName();
|
|
|
|
final String methodName = method.getName();
|
|
|
|
if ("close".equals(methodName)) {
|
|
|
|
if ("abort".equals(methodName)) {
|
|
|
|
return Void.TYPE;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if ("abort".equals(methodName)) {
|
|
|
|
|
|
|
|
return Void.TYPE;
|
|
|
|
return Void.TYPE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ("isValid".equals(methodName)) {
|
|
|
|
else if ("isValid".equals(methodName)) {
|
|
|
|