[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: RFR: 6218162: DefaultTableColumnModel.getColumn() method should mention ArrayIndexOutOfBoundsExc
From: Prasanta Sadhukhan <psadhukhan () openjdk ! java ! net>
Date: 2022-02-28 7:24:29
Message-ID: J9zvdd_9NNvisnC5pr-c2xrYr6bm2RV0wfJ8zoyRYCk=.038a35f2-3ae1-4279-bcb0-dd3067c27d08 () github ! com
[Download RAW message or body]
On Fri, 25 Feb 2022 23:06:33 GMT, Phil Race <prr@openjdk.org> wrote:
> > Prasanta Sadhukhan has updated the pull request incrementally with one additional \
> > commit since the last revision:
> > Fix javadoc
>
> src/java.desktop/share/classes/javax/swing/table/DefaultTableColumnModel.java line \
> 294:
> > 292: * at <code>columnIndex</code>
> > 293: * @exception ArrayIndexOutOfBoundsException if \
> > <code>columnIndex</code>
> > 294: * is out of range:
>
> As Joe Darcy pointed out, we use @throws these days.
I was aware of that but this file uses @exception throughout, so to be consistent, I \
used that..But if it is recommended to use @throws even at the cost of being \
inconsistent within the file, I would use that.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7587
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic