OpenJDK / jdk / hs
changeset 29741:da2598cb299e
8076441: Dead code in java.time.chrono.Chronology.isLeapYear after fixing JDK-8067800
Reviewed-by: igerasim, rriggs
Contributed-by: nadeesh.tv@oracle.com
author | rriggs |
---|---|
date | Thu, 02 Apr 2015 14:25:27 -0400 |
parents | d9f64fdd3c97 |
children | b73f38796859 |
files | jdk/src/java.base/share/classes/java/time/chrono/HijrahChronology.java |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/java.base/share/classes/java/time/chrono/HijrahChronology.java Thu Apr 02 16:24:46 2015 +0200 +++ b/jdk/src/java.base/share/classes/java/time/chrono/HijrahChronology.java Thu Apr 02 14:25:27 2015 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2015, 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 @@ -478,7 +478,6 @@ if (prolepticYear < getMinimumYear() || prolepticYear > getMaximumYear()) { return false; } - int epochMonth = yearToEpochMonth((int) prolepticYear); int len = getYearLength((int) prolepticYear); return (len > 354); } @@ -659,7 +658,7 @@ } /** - * Return the maximum supported Hijrah ear. + * Return the maximum supported Hijrah year. * * @return the minimum */