Re: setXXX patches - Mailing list pgsql-jdbc

From Bruce Momjian
Subject Re: setXXX patches
Date
Msg-id 200107120422.f6C4MNO22412@candle.pha.pa.us
Whole thread Raw
In response to setXXX patches  (Dave Cramer <Dave@micro-automation.net>)
List pgsql-jdbc
> re: the spacing, I recall there is an app in the distibution to format the c
> code. I am betting that this will work with java. We should probably run the
> source through it.

I tried pgindent but it doesn't understand Java and made a mess of it.
I used astyle with the options:

    $ astyle --style=java -j *.java

I have the reformatted jdbc files at:

    ftp://candle.pha.pa.us/pub/postgresql/astyle_jdbc.tar.gz

I must say it looks very good.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: setXXX patches
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Re: [PATCH] Cleanup of JDBC character encoding