RFR: JDK-8253936 Replace <code>...</code> with {@code ...} for java.sql

Vipin Sharma vsharma at openjdk.java.net
Sat Oct 17 07:29:14 UTC 2020


On Fri, 16 Oct 2020 19:38:45 GMT, Vipin Sharma <vsharma at openjdk.org> wrote:

> <code>...</code> is replaced with {@code ...} in java.sql classes.
> Please review and sponsor this change.

Hi @LanceAndersen,

I have generated javadoc before and after change. Following are 3 differences showing side by side comparison here.

DriverManager.java - line 417 (Change: CODE replaced with code)
<CODE>d.getClass().getName()</CODE></div>		      |	 <code>d.getClass().getName()</code></div>

ResultSet.java - line 3085 (Change: CODE replaced with code)
the result set concurrency is <CODE>CONCUR_READ_ONLY</code>  |	 the result set concurrency is
<code>CONCUR_READ_ONLY</code>

SQLClientInfoException.java - line 60 (Change: removed space before null)
 <code> null</code> and the vendor code is initialized to 0.  |	 <code>null</code> and the vendor code is initialized to
 0.
 
All the above three changes doesn't change the effective view.

-------------

PR: https://git.openjdk.java.net/jdk/pull/707


More information about the core-libs-dev mailing list