mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6560981: (cal) unused local variables in GregorianCalendar, etc.
Reviewed-by: naoto, bchristi, iris
This commit is contained in:
parent
5dd851d872
commit
d4c9a88073
3 changed files with 3 additions and 9 deletions
|
@ -2118,7 +2118,6 @@ class JapaneseImperialCalendar extends Calendar {
|
|||
* @param fixedDate the fixed date representation of the date
|
||||
*/
|
||||
private long getFixedDateJan1(LocalGregorianCalendar.Date date, long fixedDate) {
|
||||
Era era = date.getEra();
|
||||
if (date.getEra() != null && date.getYear() == 1) {
|
||||
for (int eraIndex = getEraIndex(date); eraIndex > 0; eraIndex--) {
|
||||
CalendarDate d = eras[eraIndex].getSinceDate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue