aboutsummaryrefslogtreecommitdiff
path: root/src/java.sql/share/classes/java/sql/Struct.java
diff options
context:
space:
mode:
authorVipin Sharma <vsharma@openjdk.org>2020-11-25 16:01:40 +0000
committerLance Andersen <lancea@openjdk.org>2020-11-25 16:01:40 +0000
commitdee79d605334804118839e9f71151a7e8d1ad27b (patch)
tree1cb491cc1f99632467731241c63493d9314bc896 /src/java.sql/share/classes/java/sql/Struct.java
parentcfb175dfdfd57a3da1d0dbc251657312abc0f6f3 (diff)
downloadopenjdk-dee79d605334804118839e9f71151a7e8d1ad27b.tar.gz
openjdk-dee79d605334804118839e9f71151a7e8d1ad27b.zip
8253936: Replace <code>...</code> with {@code ...} for java.sql
Reviewed-by: lancea
Diffstat (limited to 'src/java.sql/share/classes/java/sql/Struct.java')
-rw-r--r--src/java.sql/share/classes/java/sql/Struct.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/java.sql/share/classes/java/sql/Struct.java b/src/java.sql/share/classes/java/sql/Struct.java
index a2dbb8459c3..09a75138d18 100644
--- a/src/java.sql/share/classes/java/sql/Struct.java
+++ b/src/java.sql/share/classes/java/sql/Struct.java
@@ -27,13 +27,13 @@ package java.sql;
/**
* <p>The standard mapping in the Java programming language for an SQL
- * structured type. A <code>Struct</code> object contains a
+ * structured type. A {@code Struct} object contains a
* value for each attribute of the SQL structured type that
* it represents.
- * By default, an instance of<code>Struct</code> is valid as long as the
+ * By default, an instance of{@code Struct} is valid as long as the
* application has a reference to it.
* <p>
- * All methods on the <code>Struct</code> interface must be fully implemented if the
+ * All methods on the {@code Struct} interface must be fully implemented if the
* JDBC driver supports the data type.
* @since 1.2
*/
@@ -42,10 +42,10 @@ public interface Struct {
/**
* Retrieves the SQL type name of the SQL structured type
- * that this <code>Struct</code> object represents.
+ * that this {@code Struct} object represents.
*
* @return the fully-qualified type name of the SQL structured
- * type for which this <code>Struct</code> object
+ * type for which this {@code Struct} object
* is the generic representation
* @throws SQLException if a database access error occurs
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support
@@ -56,7 +56,7 @@ public interface Struct {
/**
* Produces the ordered values of the attributes of the SQL
- * structured type that this <code>Struct</code> object represents.
+ * structured type that this {@code Struct} object represents.
* As individual attributes are processed, this method uses the type map
* associated with the
* connection for customizations of the type mappings.
@@ -66,7 +66,7 @@ public interface Struct {
* the driver uses the standard mapping.
* <p>
* Conceptually, this method calls the method
- * <code>getObject</code> on each attribute
+ * {@code getObject} on each attribute
* of the structured type and returns a Java array containing
* the result.
*
@@ -80,7 +80,7 @@ public interface Struct {
/**
* Produces the ordered values of the attributes of the SQL
- * structured type that this <code>Struct</code> object represents.
+ * structured type that this {@code Struct} object represents.
* As individual attributes are processed, this method uses the given type map
* for customizations of the type mappings.
* If there is no
@@ -90,7 +90,7 @@ public interface Struct {
* uses the type map associated with the connection.
* <p>
* Conceptually, this method calls the method
- * <code>getObject</code> on each attribute
+ * {@code getObject} on each attribute
* of the structured type and returns a Java array containing
* the result.
*