mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8251542: Several small Javadoc errors in java.base
Fixing wrong exception type in throws clause and wrong return type description Reviewed-by: darcy, dfuchs, mullan, mchung, rriggs
This commit is contained in:
parent
eaeddeddb1
commit
d4626d89cc
8 changed files with 11 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -315,7 +315,7 @@ public class ServerSocket implements java.io.Closeable {
|
|||
/**
|
||||
* Creates the socket implementation.
|
||||
*
|
||||
* @throws IOException if creation fails
|
||||
* @throws SocketException if creation fails
|
||||
* @since 1.4
|
||||
*/
|
||||
void createImpl() throws SocketException {
|
||||
|
|
|
@ -533,7 +533,7 @@ public class Socket implements java.io.Closeable {
|
|||
*
|
||||
* @param stream a {@code boolean} value : {@code true} for a TCP socket,
|
||||
* {@code false} for UDP.
|
||||
* @throws IOException if creation fails
|
||||
* @throws SocketException if creation fails
|
||||
* @since 1.4
|
||||
*/
|
||||
void createImpl(boolean stream) throws SocketException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue