Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUCA8-0006Fi-6M for pgsql-jdbc-commits@arkaria.postgresql.org; Mon, 20 Feb 2023 19:49:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pUCA7-0006Pj-57 for pgsql-jdbc-commits@arkaria.postgresql.org; Mon, 20 Feb 2023 19:49:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUBip-0003Zh-7I; Mon, 20 Feb 2023 19:21:11 +0000 Received: from out-18.smtp.github.com ([192.30.252.201]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUBic-0000jn-JA; Mon, 20 Feb 2023 19:21:04 +0000 Received: from github.com (hubbernetes-node-e022bbe.va3-iad.github.net [10.48.12.145]) by smtp.github.com (Postfix) with ESMTPA id DF2FD3404B9; Mon, 20 Feb 2023 11:20:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1676920856; bh=QaiaznGDt1nBc/u7TrMnVPrSj4MCXU8eBOu7HwIHuPY=; h=Date:From:To:Subject:From; b=qgFth1n2JiFQfq9mqW2rvqe7wjuzBpsSAQEFibFhn1euwMTTyF8JKL381UNHxCnIP uQN2RuC2ZRCJt2ES2vlR5ghkan1e/db3OY4abYEPOOfxZwNBdUrUvYNC0RQwXFthMK VCiC58aEEhqaLY1ff5Rb4PA81vNtXnkFkyhmlHMI= Date: Mon, 20 Feb 2023 11:20:56 -0800 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org, pgsql-jdbc-commits@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 01736e: fix: remove redundant code (#2824) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org,pgsql-jdbc-commits@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 01736edfb41a79e2ca35d1f55bdc881bc90a51c1 https://github.com/pgjdbc/pgjdbc/commit/01736edfb41a79e2ca35d1f55bdc881bc90a51c1 Author: Dave Cramer Date: 2023-02-20 (Mon, 20 Feb 2023) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java Log Message: ----------- fix: remove redundant code (#2824) * fix: remove redundant code * fix: autoclose statements created in executeSQLUpdate using closeable resource.