8252937: Correct "no comment" warnings from javadoc in java.math package
Reviewed-by: darcy
This commit is contained in:
parent
8df3e72cea
commit
5310d85809
@ -4208,7 +4208,9 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
||||
* Reconstitute the {@code BigDecimal} instance from a stream (that is,
|
||||
* deserialize it).
|
||||
*
|
||||
* @param s the stream being read.
|
||||
* @param s the stream being read.
|
||||
* @throws IOException if an I/O error occurs
|
||||
* @throws ClassNotFoundException if a serialized class cannot be loaded
|
||||
*/
|
||||
@java.io.Serial
|
||||
private void readObject(java.io.ObjectInputStream s)
|
||||
@ -4227,7 +4229,8 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
||||
/**
|
||||
* Serialize this {@code BigDecimal} to the stream in question
|
||||
*
|
||||
* @param s the stream to serialize to.
|
||||
* @param s the stream to serialize to.
|
||||
* @throws IOException if an I/O error occurs
|
||||
*/
|
||||
@java.io.Serial
|
||||
private void writeObject(java.io.ObjectOutputStream s)
|
||||
|
@ -4657,6 +4657,10 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
|
||||
* marker value. Therefore, no explicit action to set these fields needs to
|
||||
* be taken in readObject because those fields already have a 0 value by
|
||||
* default since defaultReadObject is not being used.
|
||||
*
|
||||
* @param s the stream being read.
|
||||
* @throws IOException if an I/O error occurs
|
||||
* @throws ClassNotFoundException if a serialized class cannot be loaded
|
||||
*/
|
||||
@java.io.Serial
|
||||
private void readObject(java.io.ObjectInputStream s)
|
||||
@ -4724,6 +4728,9 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
|
||||
* {@code firstNonzeroByteNum}, respectively. These values are compatible
|
||||
* with older implementations, but will be ignored by current
|
||||
* implementations.
|
||||
*
|
||||
* @param s the stream to serialize to.
|
||||
* @throws IOException if an I/O error occurs
|
||||
*/
|
||||
@java.io.Serial
|
||||
private void writeObject(ObjectOutputStream s) throws IOException {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 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
|
||||
@ -308,7 +308,9 @@ public final class MathContext implements Serializable {
|
||||
* Reconstitute the {@code MathContext} instance from a stream (that is,
|
||||
* deserialize it).
|
||||
*
|
||||
* @param s the stream being read.
|
||||
* @param s the stream being read.
|
||||
* @throws IOException if an I/O error occurs
|
||||
* @throws ClassNotFoundException if a serialized class cannot be loaded
|
||||
*/
|
||||
@java.io.Serial
|
||||
private void readObject(java.io.ObjectInputStream s)
|
||||
|
Loading…
Reference in New Issue
Block a user