Skip to content

Commit dbb3585

Browse files
committed
Update documentation.
1 parent 87ad811 commit dbb3585

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

kilo-server/src/main/java/org/httprpc/kilo/WebService.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ protected Connection openConnection() throws SQLException {
973973
* The servlet response.
974974
*
975975
* @throws IOException
976-
* If an error occurs while decoding the request or encoding the response.
976+
* If an error occurs while reading the request or writing the response.
977977
*/
978978
protected void process(HttpServletRequest request, HttpServletResponse response) throws IOException {
979979
var verb = Verb.valueOf(request.getMethod().toUpperCase());
@@ -1224,7 +1224,8 @@ protected void process(HttpServletRequest request, HttpServletResponse response)
12241224
* Returns the database connection.
12251225
*
12261226
* @return
1227-
* The database connection.
1227+
* The database connection, or {@code null} if a database connection has
1228+
* not been established.
12281229
*/
12291230
protected static Connection getConnection() {
12301231
return connection.get();

0 commit comments

Comments
 (0)