Here you can find the source of closeEL(ResultSet rs)
public static void closeEL(ResultSet rs)
//package com.java2s; //License from project: LGPL import java.sql.ResultSet; import java.sql.Statement; public class Main { public static void closeEL(Statement stat) { if (stat != null) { try { stat.close();/*w ww. ja v a 2 s . c om*/ } catch (Throwable t) { } } } public static void closeEL(ResultSet rs) { if (rs != null) { try { rs.close(); } catch (Throwable t) { } } } }