#vulnerable code 
                                public void testCheck() {
        // 创建连接测试
        Connection conn = createConnection();
        System.out.println("当前连接状态" + conn.isValid());
        conn.close();
    } 
                            #location 5 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                public void testCheck() {
        // 创建连接测试
        Connection conn = createConnection();
        LOGGER.debug("当前连接状态={}", conn.isValid());
        conn.close();
    }