File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/java.base/share/classes/java/time Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2012, 2019 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2012, 2020 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -808,7 +808,7 @@ public Period multipliedBy(int scalar) {
808
808
*
809
809
* @return a {@code Period} based on this period with the amounts negated, not null
810
810
* @throws ArithmeticException if numeric overflow occurs, which only happens if
811
- * one of the units has the value {@code Long .MIN_VALUE}
811
+ * one of the units has the value {@code Integer .MIN_VALUE}
812
812
*/
813
813
public Period negated () {
814
814
return multipliedBy (-1 );
You can’t perform that action at this time.
0 commit comments