Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r3d5s-004psQ-UR for pgsql-jdbc-commits@arkaria.postgresql.org; Thu, 16 Nov 2023 14:11:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r3d5r-007HBL-Is for pgsql-jdbc-commits@arkaria.postgresql.org; Thu, 16 Nov 2023 14:11:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r3d5r-007HAz-C1 for pgsql-jdbc-commits@lists.postgresql.org; Thu, 16 Nov 2023 14:11:43 +0000 Received: from out-24.smtp.github.com ([192.30.252.207]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r3d5k-005rvz-Hk for pgsql-jdbc-commits@lists.postgresql.org; Thu, 16 Nov 2023 14:11:42 +0000 Received: from github.com (hubbernetes-node-cfa690f.ac4-iad.github.net [10.52.137.24]) by smtp.github.com (Postfix) with ESMTPA id 518011E1012 for ; Thu, 16 Nov 2023 06:11:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1700143895; bh=57QwOpTaTz4cdt33Wl2wqzdKUJ5/SfCAz85IyGFZQZY=; h=Date:From:To:Subject:From; b=Z6B3vIE9L2PG9dGzl+nGuCN1gOw5SwUaaRnA62Xym70pfWb+kVwVrlMq0pdsBNuvu oBlYrgNTA6fALWuB/4uw2WxhQzOy2yxQloxQ8/OYxglLuIq0uiRrzvfUmWC369pyBY LNu3RjopOprLpqnVqMHmJcdPkyhnilNrPGk4h7fo= Date: Thu, 16 Nov 2023 06:11:35 -0800 From: Vladimir Sitnikov To: pgsql-jdbc-commits@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 8bcc7e: style: remove excessive @NonNull Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: 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: 8bcc7ed10bde5e4f5bb7fa8fddf107361938869f https://github.com/pgjdbc/pgjdbc/commit/8bcc7ed10bde5e4f5bb7fa8fddf107361938869f Author: Vladimir Sitnikov Date: 2023-11-16 (Thu, 16 Nov 2023) Changed paths: M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java M pgjdbc/src/main/java/org/postgresql/core/v3/adaptivefetch/AdaptiveFetchCache.java Log Message: ----------- style: remove excessive @NonNull @NonNull is the default, so we should not add it for simple types. @NonNull might be helpful in generics, however, plain code should not use it.