pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Patch: Fix BaseDataSource.setProtocolVersion
2+ messages / 2 participants
[nested] [flat]

* Patch: Fix BaseDataSource.setProtocolVersion
@ 2012-05-01 21:09 Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
  2012-05-02 18:12 ` Re: Patch: Fix BaseDataSource.setProtocolVersion Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Mikko Tiihonen @ 2012-05-01 21:09 UTC (permalink / raw)
  To: pgsql-jdbc

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) download diff --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; }
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: Patch: Fix BaseDataSource.setProtocolVersion
  2012-05-01 21:09 Patch: Fix BaseDataSource.setProtocolVersion Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
@ 2012-05-02 18:12 ` Dave Cramer <pg@fastcrypt.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Cramer @ 2012-05-02 18:12 UTC (permalink / raw)
  To: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>; +Cc: pgsql-jdbc

Applied, thanks!

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Tue, May 1, 2012 at 5:09 PM, Mikko Tiihonen
<mikko.tiihonen@nitorcreations.com> wrote:
> My IDE warned that the current code ignores the passed in argument. Attached
> is the obvious fix.
>
> -Mikko
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2012-05-02 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-05-01 21:09 Patch: Fix BaseDataSource.setProtocolVersion Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
2012-05-02 18:12 ` Dave Cramer <pg@fastcrypt.com>

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