private void closeMailConnection() { try { if ( mailConn != null ) { mailConn.disconnect(); mailConn = null; } } catch ( Exception e ) { // Ignore } }
/** * Disconnect from the server and close folder, connection. * * @throws KettleException */ public void disconnect() throws KettleException { disconnect( true ); }
private void closeMailConnection() { try { if ( mailConn != null ) { mailConn.disconnect(); mailConn = null; } } catch ( Exception e ) { /* Ignore */ } }
public void dispose( StepMetaInterface smi, StepDataInterface sdi ) { meta = (MailInputMeta) smi; data = (MailInputData) sdi; if ( data.mailConn != null ) { try { data.mailConn.disconnect(); data.mailConn = null; } catch ( Exception e ) { /* Ignore */ } } super.dispose( smi, sdi ); }
try { if ( mailConn != null ) { mailConn.disconnect(); mailConn = null;