pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vadim Nasardinov <vadimn@redhat.com>
To: pgsql-jdbc@postgresql.org
Subject: code duplication (was: Re: General Parser)
Date: Mon, 1 Nov 2004 10:45:36 -0500
Message-ID: <200411011045.36580@vadim.nasardinov> (raw)
In-Reply-To: <41861A10.1000607@opencloud.com>
References: <200411010341.28499.kenobi@halifax.rwth-aachen.de>
	<41861A10.1000607@opencloud.com>

On Monday 01 November 2004 06:12, Oliver Jowett wrote:
> if only because it reduces code duplication.

Speaking of which, I ran CPD on the source tree and found a few cases
of copied and pasted code.  The results are posted here:

  http://people.redhat.com/~vadimn/scratch/pgsql-jdbc/pgjdbc-cpd-brief.txt
  http://people.redhat.com/~vadimn/scratch/pgsql-jdbc/pgjdbc-cpd-full.txt

I haven't had a chance to try and assess how difficult it would be to
factor out the duplicated chunks.


Vadim





Message-ID: <200411011045.36580@vadim.nasardinov>
Permalink:  ../200411011045.36580@vadim.nasardinov/
Also on:    postgresql.org/message-id/200411011045.36580@vadim.nasardinov

 · 

reply

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: vadimn@redhat.com
  Subject: Re: code duplication (was: Re: General Parser)
  In-Reply-To: <200411011045.36580@vadim.nasardinov>
  References: <200411010341.28499.kenobi@halifax.rwth-aachen.de> <41861A10.1000607@opencloud.com> <200411011045.36580@vadim.nasardinov>

* 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