From: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
To: pgsql-jdbc@postgresql.org
Subject: Patch: Fix BaseDataSource.setProtocolVersion
Date: Wed, 02 May 2012 00:09:50 +0300
Message-ID: <4FA0511E.7000605@nitorcreations.com> (raw)
My IDE warned that the current code ignores the passed in argument. Attached is the obvious fix.
-Mikko
Attachments:fix-DataSource-setProtocolVersion.patch (text/x-patch, 507B) downloaddiff --git a/org/postgresql/ds/common/BaseDataSource.java b/org/postgresql/ds/common/BaseDataSource.java--- a/org/postgresql/ds/common/BaseDataSource.java+++ b/org/postgresql/ds/common/BaseDataSource.java@@ -189,7 +189,7 @@ public abstract class BaseDataSource implements Referenceable
return protocolVersion;
}
- public void setProtocolVersion(int protocolversion)+ public void setProtocolVersion(int protocolVersion)
{
this.protocolVersion = protocolVersion;
}
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: mikko.tiihonen@nitorcreations.com
Subject: Re: Patch: Fix BaseDataSource.setProtocolVersion
In-Reply-To: <4FA0511E.7000605@nitorcreations.com>
References: <4FA0511E.7000605@nitorcreations.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox