Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 66F6D19B0DDD for ; Thu, 17 May 2012 13:41:59 -0300 (ADT) Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SV3m1-0006Jb-Qs for pgsql-jdbc@postgresql.org; Thu, 17 May 2012 16:41:58 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4HGfiFk022634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 17 May 2012 12:41:44 -0400 Received: from localhost.localdomain (vpn-10-40.rdu.redhat.com [10.11.10.40]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q4HGfhkV020556 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 17 May 2012 12:41:44 -0400 Message-ID: <4FB52AC9.1020504@jboss.org> Date: Thu, 17 May 2012 12:43:53 -0400 From: Jesper Pedersen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Pull request: Use .valueOf() Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Pg-Spam-Score: -6.9 (------) X-Archive-Number: 201205/51 X-Sequence-Number: 22951 Hi, I have changed the code to use .valueOf() and thereby fixing the findbugs reports for that area. Also results in a small performance improvement. Required is Java 1.5. PR: https://github.com/pgjdbc/pgjdbc/pull/4 Best regards, Jesper