8304989: unnecessary dash in @param gives double-dash in docs
Reviewed-by: lancea
This commit is contained in:
parent
395a4ce0dd
commit
c90699eae7
src/java.base/share/classes/java
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2023, 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
|
||||
@ -129,9 +129,9 @@ public abstract class Enum<E extends Enum<E>>
|
||||
* It is for use by code emitted by the compiler in response to
|
||||
* enum class declarations.
|
||||
*
|
||||
* @param name - The name of this enum constant, which is the identifier
|
||||
* @param name The name of this enum constant, which is the identifier
|
||||
* used to declare it.
|
||||
* @param ordinal - The ordinal of this enumeration constant (its position
|
||||
* @param ordinal The ordinal of this enumeration constant (its position
|
||||
* in the enum declaration, where the initial constant is assigned
|
||||
* an ordinal of zero).
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2023, 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
|
||||
@ -123,7 +123,7 @@ public abstract class CookieHandler {
|
||||
*
|
||||
* @param uri a {@code URI} representing the intended use for the
|
||||
* cookies
|
||||
* @param requestHeaders - a Map from request header
|
||||
* @param requestHeaders a Map from request header
|
||||
* field names to lists of field values representing
|
||||
* the current request headers
|
||||
* @return an immutable map from state management headers, with
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2023, 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
|
||||
@ -129,7 +129,7 @@ public abstract class ResponseCache {
|
||||
* network resource
|
||||
* @param rqstMethod a {@code String} representing the request
|
||||
* method
|
||||
* @param rqstHeaders - a Map from request header
|
||||
* @param rqstHeaders a Map from request header
|
||||
* field names to lists of field values representing
|
||||
* the current request headers
|
||||
* @return a {@code CacheResponse} instance if available
|
||||
@ -157,7 +157,7 @@ public abstract class ResponseCache {
|
||||
*
|
||||
* @param uri a {@code URI} used to reference the requested
|
||||
* network resource
|
||||
* @param conn - a URLConnection instance that is used to fetch
|
||||
* @param conn a URLConnection instance that is used to fetch
|
||||
* the response to be cached
|
||||
* @return a {@code CacheRequest} for recording the
|
||||
* response to be cached. Null return indicates that
|
||||
|
Loading…
x
Reference in New Issue
Block a user