Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2736 - development/main/transit/core/handler/src/main/net/dpml/transit/cache

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT hedhman.org
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2736 - development/main/transit/core/handler/src/main/net/dpml/transit/cache
  • Date: Mon, 06 Jun 2005 08:00:46 -0400

Author: niclas AT hedhman.org
Date: Mon Jun 6 08:00:45 2005
New Revision: 2736

Modified:

development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultResourceHost.java
Log:
Apparently the exception signature of Transit.getInstance() has changed.

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultResourceHost.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultResourceHost.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/cache/DefaultResourceHost.java
Mon Jun 6 08:00:45 2005
@@ -560,18 +560,14 @@
*/
public void checkServerTrusted( final X509Certificate[] certs, final
String authType )
{
- try
+ PrintWriter log = Transit.getInstance().getLogWriter();
+ log.println( "NullTrustManager: authType=" + authType );
+ log.println( "Server Certificates" );
+ log.println( "-------------------" );
+ for( int i=0 ; i < certs.length ; i++ )
{
- PrintWriter log = Transit.getInstance().getLogWriter();
- log.println( "NullTrustManager: authType=" + authType );
- log.println( "Server Certificates" );
- log.println( "-------------------" );
- for( int i=0 ; i < certs.length ; i++ )
- {
- log.println( " " + certs[ i ] );
- }
- } catch( TransitException e )
- {} // ignore
+ log.println( " " + certs[ i ] );
+ }
}

/**
@@ -581,18 +577,14 @@
*/
public void checkClientTrusted( final X509Certificate[] certs, final
String authType )
{
- try
+ PrintWriter log = Transit.getInstance().getLogWriter();
+ log.println( "NullTrustManager: authType=" + authType );
+ log.println( "Client Certificates" );
+ log.println( "-------------------" );
+ for( int i=0 ; i < certs.length ; i++ )
{
- PrintWriter log = Transit.getInstance().getLogWriter();
- log.println( "NullTrustManager: authType=" + authType );
- log.println( "Client Certificates" );
- log.println( "-------------------" );
- for( int i=0 ; i < certs.length ; i++ )
- {
- log.println( " " + certs[ i ] );
- }
- } catch( TransitException e )
- {} // ignore
+ log.println( " " + certs[ i ] );
+ }
}

/**



  • svn commit: r2736 - development/main/transit/core/handler/src/main/net/dpml/transit/cache, niclas, 06/06/2005

Archive powered by MHonArc 2.6.24.

Top of Page