Skip to content

Commit 42726a8

Browse files
author
Roger Riggs
committed
8215361: (doc) Cleanup package-info markup - smartcardio, java.sql, java.sql.rowset
Reviewed-by: lancea, prappo, naoto
1 parent 2760497 commit 42726a8

9 files changed

Lines changed: 588 additions & 587 deletions

File tree

src/java.base/share/classes/java/util/stream/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -176,7 +176,7 @@
176176
* do:
177177
*
178178
* <pre>{@code
179-
* int sumOfWeights = widgets.}<code><b>parallelStream()</b></code>{@code
179+
* int sumOfWeights = widgets.<b>parallelStream()</b>
180180
* .filter(b -> b.getColor() == RED)
181181
* .mapToInt(b -> b.getWeight())
182182
* .sum();

src/java.smartcardio/share/classes/javax/smartcardio/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -36,7 +36,7 @@
3636
*
3737
* <p>
3838
* The API is defined by classes in the package
39-
* <code>javax.smartcardio</code>. They can be classified as follows:
39+
* {@code javax.smartcardio}. They can be classified as follows:
4040
*
4141
* <dl>
4242
* <dt>Classes describing the corresponding Smart Card structures

src/java.sql.rowset/share/classes/com/sun/rowset/package-info.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,48 +24,48 @@
2424
*/
2525

2626
/**
27-
* Provides five standard implementations of the standard JDBC <code>RowSet</code> implementation
27+
* Provides five standard implementations of the standard JDBC {@code RowSet} implementation
2828
* interface definitions. These reference implementations are included with the J2SE version
29-
* 1.5 platform and represent the benchmark standard <code>RowSet</code> implementations as verified
29+
* 1.5 platform and represent the benchmark standard {@code RowSet} implementations as verified
3030
* by the Test Compatibility Kit (TCK) as mandated by the Java Community Process.
3131
* <br>
3232
*
3333
* <h2>1.0 Available JDBC RowSet Reference Implementations </h2>
3434
* The following implementations are provided:<br>
3535
*
36-
* <blockquote><code><b>JdbcRowSetImpl</b></code> - The <code>javax.sql.rowset.JdbcRowSet</code>
36+
* <blockquote><b>{@code JdbcRowSetImpl}</b> - The {@code javax.sql.rowset.JdbcRowSet}
3737
* interface reference implementation. <br>
3838
* <br>
39-
* <code><b>CachedRowSetImpl</b></code> - The <code>javax.sql.rowset.CachedRowSet</code> interface
39+
* <b>{@code CachedRowSetImpl}</b> - The {@code javax.sql.rowset.CachedRowSet} interface
4040
* reference implementation.<br>
4141
* <br>
42-
* <code><b>WebRowSetImpl</b></code> - The <code>javax.sql.rowset.WebRowSet</code> interface
42+
* <b>{@code WebRowSetImpl}</b> - The {@code javax.sql.rowset.WebRowSet} interface
4343
* reference implementation.<br>
4444
* <br>
45-
* <code><b>FilteredRowSetImpl</b></code> - The <code>javax.sql.rowset.FilteredRowSet</code>
45+
* <b>{@code FilteredRowSetImpl}</b> - The {@code javax.sql.rowset.FilteredRowSet}
4646
* interface reference implementation.<br>
4747
* <br>
48-
* <code><b>JoinRowSetImpl</b></code> - The <code>javax.sql.rowset.JoinRowSet</code> interface
48+
* <b>{@code JoinRowSetImpl}</b> - The {@code javax.sql.rowset.JoinRowSet} interface
4949
* reference implementation.<br>
5050
* </blockquote>
5151
*
52-
* All details on their expected behavior, including their interactions with the <code>SyncProvider</code>
53-
* SPI and helper classes are provided in the interface definitions in the <code>javax.sql.rowset</code>
52+
* All details on their expected behavior, including their interactions with the {@code SyncProvider}
53+
* SPI and helper classes are provided in the interface definitions in the {@code javax.sql.rowset}
5454
* package specification.<br>
5555
*
5656
* <h2>2.0 Usage</h2>
5757
* The reference implementations represent robust implementations of the standard
58-
* <code>RowSet</code> interfaces defined in the <code>javax.sql.rowset</code> package.
59-
* All disconnected <code>RowSet</code> implementations, such as the <code>CachedRowSetImpl</code>
60-
* and <code>WebRowSetImpl</code>, are flexible enough to use the <code>SyncFactory</code> SPIs to
61-
* leverage non-reference implementation <code>SyncProvider</code> implementations to obtain
58+
* {@code RowSet} interfaces defined in the {@code javax.sql.rowset} package.
59+
* All disconnected {@code RowSet} implementations, such as the {@code CachedRowSetImpl}
60+
* and {@code WebRowSetImpl}, are flexible enough to use the {@code SyncFactory} SPIs to
61+
* leverage non-reference implementation {@code SyncProvider} implementations to obtain
6262
* differing synchronization semantics. Furthermore, developers and vendors alike are free
6363
* to use these implementations and integrate them into their products just as they
6464
* can with to other components of the Java platform.<br>
6565
*
6666
* <h2>3.0 Extending the JDBC RowSet Implementations</h2>
6767
*
68-
* The JDBC <code>RowSet</code> reference implementations are provided as non-final
68+
* The JDBC {@code RowSet} reference implementations are provided as non-final
6969
* classes so that any developer can extend them to provide additional features
7070
* while maintaining the core required standard functionality and compatibility. It
7171
* is anticipated that many vendors and developers will extend the standard feature

src/java.sql.rowset/share/classes/com/sun/rowset/providers/package-info.java

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -25,84 +25,84 @@
2525

2626
/**
2727
*
28-
* Repository for the <code>RowSet</code> reference implementations of the
29-
* <code>SyncProvider</code> abstract class. These implementations provide a
30-
* disconnected <code>RowSet</code>
28+
* Repository for the {@code RowSet} reference implementations of the
29+
* {@code SyncProvider} abstract class. These implementations provide a
30+
* disconnected {@code RowSet}
3131
* object with the ability to synchronize the data in the underlying data
3232
* source with its data. These implementations are provided as
33-
* the default <code>SyncProvider</code> implementations and are accessible via the
34-
* <code>SyncProvider</code> SPI managed by the <code>SyncFactory</code>.
33+
* the default {@code SyncProvider} implementations and are accessible via the
34+
* {@code SyncProvider} SPI managed by the {@code SyncFactory}.
3535
*
36-
* <h2>1.0 <code>SyncProvider</code> Reference Implementations</h2>
37-
* The main job of a <code>SyncProvider</code> implementation is to manage
36+
* <h2>1.0 {@code SyncProvider} Reference Implementations</h2>
37+
* The main job of a {@code SyncProvider} implementation is to manage
3838
* the reader and writer mechanisms.
39-
* The <code>SyncProvider</code> SPI, as specified in the <code>javax.sql.rowset.spi</code>
40-
* package, provides a pluggable mechanism by which <code>javax.sql.RowSetReader</code>
41-
* and <code>javax.sql.RowSetWriter</code> implementations can be supplied to a disconnected
42-
* <code>RowSet</code> object.
39+
* The {@code SyncProvider} SPI, as specified in the {@code javax.sql.rowset.spi}
40+
* package, provides a pluggable mechanism by which {@code javax.sql.RowSetReader}
41+
* and {@code javax.sql.RowSetWriter} implementations can be supplied to a disconnected
42+
* {@code RowSet} object.
4343
* <P>
44-
* A reader, a <code>javax.sql.RowSetReader</code>
45-
* object, does the work necessary to populate a <code>RowSet</code> object with data.
46-
* A writer, a <code>javax.sql.RowSetWriter</code> object, does the work necessary for
47-
* synchronizing a <code>RowSet</code> object's data with the data in the originating
48-
* source of data. Put another way, a writer writes a <code>RowSet</code>
44+
* A reader, a {@code javax.sql.RowSetReader}
45+
* object, does the work necessary to populate a {@code RowSet} object with data.
46+
* A writer, a {@code javax.sql.RowSetWriter} object, does the work necessary for
47+
* synchronizing a {@code RowSet} object's data with the data in the originating
48+
* source of data. Put another way, a writer writes a {@code RowSet}
4949
* object's data back to the data source.
5050
* <P>
5151
* Generally speaking, the course of events is this. The reader makes a connection to
52-
* the data source and reads the data from a <code>ResultSet</code> object into its
53-
* <code>RowSet</code> object. Then it closes the connection. While
54-
* the <code>RowSet</code> object is disconnected, an application makes some modifications
55-
* to the data and calls the method <code>acceptChanges</code>. At this point, the
52+
* the data source and reads the data from a {@code ResultSet} object into its
53+
* {@code RowSet} object. Then it closes the connection. While
54+
* the {@code RowSet} object is disconnected, an application makes some modifications
55+
* to the data and calls the method {@code acceptChanges}. At this point, the
5656
* writer is called to write the changes back to the database table or view
5757
* from which the original data came. This is called <i>synchronization</i>.
5858
* <P>
5959
* If the data in the originating data source has not changed, there is no problem
60-
* with just writing the <code>RowSet</code> object's new data to the data source.
60+
* with just writing the {@code RowSet} object's new data to the data source.
6161
* If it has changed, however, there is a conflict that needs to be resolved. One
6262
* way to solve the problem is not to let the data in the data source be changed in
6363
* the first place, which can be done by setting locks on a row, a table, or the
6464
* whole data source. Setting locks is a way to avoid conflicts, but it can be
6565
* very expensive. Another approach, which is at the other end of the spectrum,
6666
* is simply to assume that no conflicts will occur and thus do nothing to avoid
6767
* conflicts.
68-
* Different <code>SyncProvider</code> implementations may handle synchronization in
68+
* Different {@code SyncProvider} implementations may handle synchronization in
6969
* any of these ways, varying from doing no checking for
7070
* conflicts, to doing various levels of checking, to guaranteeing that there are no
7171
* conflicts.
7272
* <P>
73-
* The <code>SyncProvider</code> class offers methods to help a <code>RowSet</code>
73+
* The {@code SyncProvider} class offers methods to help a {@code RowSet}
7474
* object discover and manage how a provider handles synchronization.
75-
* The method <code>getProviderGrade</code> returns the
75+
* The method {@code getProviderGrade} returns the
7676
* grade of synchronization a provider offers. An application can
7777
* direct the provider to use a particular level of locking by calling
78-
* the method <code>setDataSourceLock</code> and specifying the level of locking desired.
79-
* If a <code>RowSet</code> object's data came from an SQL <code>VIEW</code>, an
80-
* application may call the method <code>supportsUpdatableView</code> to
81-
* find out whether the <code>VIEW</code> can be updated.
78+
* the method {@code setDataSourceLock} and specifying the level of locking desired.
79+
* If a {@code RowSet} object's data came from an SQL {@code VIEW}, an
80+
* application may call the method {@code supportsUpdatableView} to
81+
* find out whether the {@code VIEW} can be updated.
8282
* <P>
8383
* Synchronization is done completely behind the scenes, so it is third party vendors of
8484
* synchronization provider implementations who have to take care of this complex task.
8585
* Application programmers can decide which provider to use and the level of locking to
8686
* be done, but they are free from having to worry about the implementation details.
8787
* <P>
88-
* The JDBC <code>RowSet</code> Implementations reference implementation provides two
89-
* implementations of the <code>SyncProvider</code> class:
88+
* The JDBC {@code RowSet} Implementations reference implementation provides two
89+
* implementations of the {@code SyncProvider} class:
9090
*
9191
* <UL>
9292
* <LI>
93-
* <b><code>RIOptimisticProvider</code></b> - provides the <code>javax.sql.RowSetReader</code>
94-
* and <code>javax.sql.RowSetWriter</code> interface implementations and provides
93+
* <b>{@code RIOptimisticProvider}</b> - provides the {@code javax.sql.RowSetReader}
94+
* and {@code javax.sql.RowSetWriter} interface implementations and provides
9595
* an optimistic concurrency model for synchronization. This model assumes that there
9696
* will be few conflicts and therefore uses a relatively low grade of synchronization.
9797
* If no other provider is available, this is the default provider that the
98-
* <code>SyncFactory</code> will supply to a <code>RowSet</code> object.
98+
* {@code SyncFactory} will supply to a {@code RowSet} object.
9999
* <br>
100100
* <LI>
101-
* <b><code>RIXMLProvider</code></b> - provides the <code>XmlReader</code> (an extension
102-
* of the <code>javax.sql.RowSetReader</code> interface) and the <code>XmlWriter</code>
103-
* (an extension of the <code>javax.sql.RowSetWriter</code> interface) to enable
104-
* <code>WebRowSet</code> objects to write their state to a
105-
* well formed XML document according to the <code>WebRowSet</code> XML schema
101+
* <b>{@code RIXMLProvider}</b> - provides the {@code XmlReader} (an extension
102+
* of the {@code javax.sql.RowSetReader} interface) and the {@code XmlWriter}
103+
* (an extension of the {@code javax.sql.RowSetWriter} interface) to enable
104+
* {@code WebRowSet} objects to write their state to a
105+
* well formed XML document according to the {@code WebRowSet} XML schema
106106
* definition.<br>
107107
* </UL>
108108
*
@@ -117,12 +117,12 @@
117117
* properties. The general rule is that a RowSet is required to set only the
118118
* properties that it uses.<br>
119119
* <br>
120-
* The <code>command</code> property contains the query that determines what
121-
* data a <code>RowSet</code> will contain. Rowsets have methods for setting a query's
120+
* The {@code command} property contains the query that determines what
121+
* data a {@code RowSet} will contain. Rowsets have methods for setting a query's
122122
* parameter(s), which means that a query can be executed multiple times with
123123
* different parameters to produce different result sets. Or the query can be
124124
* changed to something completely new to get a new result set.
125-
* <p>Once a rowset contains the rows from a <code>ResultSet</code> object or some
125+
* <p>Once a rowset contains the rows from a {@code ResultSet} object or some
126126
* other data source, its column values can be updated, and its rows can be
127127
* inserted or deleted. Any method that causes a change in the rowset's values
128128
* or cursor position also notifies any object that has been registered as
@@ -134,23 +134,23 @@
134134
* source to keep the rowset and its data source synchronized. Although this
135135
* involves many operations behind the scenes, it is completely transparent
136136
* to the application programmer and remains the concern of the RowSet provider
137-
* developer. All an application has to do is invoke the method <code>acceptChanges</code>,
137+
* developer. All an application has to do is invoke the method {@code acceptChanges},
138138
* and the data source backing the rowset will be updated to match the current
139139
* values in the rowset. </p>
140140
*
141-
* <p>A disconnected rowset, such as a <code>CachedRowSet</code> or <code>WebRowSet</code>
141+
* <p>A disconnected rowset, such as a {@code CachedRowSet} or {@code WebRowSet}
142142
* object, establishes a connection to populate itself with data from a database
143-
* and then closes the connection. The <code>RowSet</code> object will remain
143+
* and then closes the connection. The {@code RowSet} object will remain
144144
* disconnected until it wants to propagate changes back to its database table,
145145
* which is optional. To write its changes back to the database (synchronize with
146146
* the database), the rowset establishes a connection, write the changes, and then
147147
* once again disconnects itself.<br>
148148
* </p>
149149
*
150150
* <h2> 3.0 Other Possible Implementations</h2>
151-
* There are many other possible implementations of the <code>SyncProvider</code> abstract
151+
* There are many other possible implementations of the {@code SyncProvider} abstract
152152
* class. One possibility is to employ a more robust synchronization model, which
153-
* would give a <code>RowSet</code> object increased trust in the provider's
153+
* would give a {@code RowSet} object increased trust in the provider's
154154
* ability to get any updates back to the original data source. Another possibility
155155
* is a more formal synchronization mechanism such as SyncML
156156
* (<a href="http://www.syncml.org/">http://www.syncml.org/</a>) <br>

0 commit comments

Comments
 (0)