src/share/classes/java/time/format/DateTimePrintContext.java

Print this page

        

@@ -155,11 +155,11 @@
                         "' because the temporal object being formatted has a different offset but" +
                         " does not represent an instant: " + temporal);
             }
         }
         final ZoneId effectiveZone = (overrideZone != null ? overrideZone : temporalZone);
-        final ChronoLocalDate<?> effectiveDate;
+        final ChronoLocalDate effectiveDate;
         if (overrideChrono != null) {
             if (temporal.isSupported(EPOCH_DAY)) {
                 effectiveDate = effectiveChrono.date(temporal);
             } else {
                 // check for date fields other than epoch-day, ignoring case of converting null to ISO