Skip to content

Commit d384f58

Browse files
committed
Fix typos.
1 parent 4ab1762 commit d384f58

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/java.base/share/classes/java/time/temporal/TemporalQueries.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ private TemporalQueries() {
345345
/**
346346
* A strict query for the {@code ZoneId}.
347347
*/
348-
static final TemporalQuery<@Nullable ZoneId> ZONE_ID = new TemporalQuery<@Nullable >() {
348+
static final TemporalQuery<@Nullable ZoneId> ZONE_ID = new TemporalQuery<@Nullable ZoneId>() {
349349
@Override
350350
public @Nullable ZoneId queryFrom(TemporalAccessor temporal) {
351351
return temporal.query(TemporalQueries.ZONE_ID);
@@ -360,7 +360,7 @@ public String toString() {
360360
/**
361361
* A query for the {@code Chronology}.
362362
*/
363-
static final TemporalQuery<@Nullable Chronology> CHRONO = new TemporalQuery<@Nullable >() {
363+
static final TemporalQuery<@Nullable Chronology> CHRONO = new TemporalQuery<@Nullable Chronology>() {
364364
@Override
365365
public @Nullable Chronology queryFrom(TemporalAccessor temporal) {
366366
return temporal.query(TemporalQueries.CHRONO);
@@ -376,7 +376,7 @@ public String toString() {
376376
/**
377377
* A query for the smallest supported unit.
378378
*/
379-
static final TemporalQuery<@Nullable TemporalUnit> PRECISION = new TemporalQuery<@Nullable >() {
379+
static final TemporalQuery<@Nullable TemporalUnit> PRECISION = new TemporalQuery<@Nullable TemporalUnit>() {
380380
@Override
381381
public @Nullable TemporalUnit queryFrom(TemporalAccessor temporal) {
382382
return temporal.query(TemporalQueries.PRECISION);
@@ -392,7 +392,7 @@ public String toString() {
392392
/**
393393
* A query for {@code ZoneOffset} returning null if not found.
394394
*/
395-
static final TemporalQuery<@Nullable ZoneOffset> OFFSET = new TemporalQuery<@Nullable >() {
395+
static final TemporalQuery<@Nullable ZoneOffset> OFFSET = new TemporalQuery<@Nullable ZoneOffset>() {
396396
@Override
397397
public @Nullable ZoneOffset queryFrom(TemporalAccessor temporal) {
398398
if (temporal.isSupported(OFFSET_SECONDS)) {
@@ -410,7 +410,7 @@ public String toString() {
410410
/**
411411
* A lenient query for the {@code ZoneId}, falling back to the {@code ZoneOffset}.
412412
*/
413-
static final TemporalQuery<@Nullable ZoneId> ZONE = new TemporalQuery<@Nullable >() {
413+
static final TemporalQuery<@Nullable ZoneId> ZONE = new TemporalQuery<@Nullable ZoneId>() {
414414
@Override
415415
public @Nullable ZoneId queryFrom(TemporalAccessor temporal) {
416416
ZoneId zone = temporal.query(ZONE_ID);
@@ -426,7 +426,7 @@ public String toString() {
426426
/**
427427
* A query for {@code LocalDate} returning null if not found.
428428
*/
429-
static final TemporalQuery<@Nullable LocalDate> LOCAL_DATE = new TemporalQuery<@Nullable >() {
429+
static final TemporalQuery<@Nullable LocalDate> LOCAL_DATE = new TemporalQuery<@Nullable LocalDate>() {
430430
@Override
431431
public @Nullable LocalDate queryFrom(TemporalAccessor temporal) {
432432
if (temporal.isSupported(EPOCH_DAY)) {
@@ -444,7 +444,7 @@ public String toString() {
444444
/**
445445
* A query for {@code LocalTime} returning null if not found.
446446
*/
447-
static final TemporalQuery<@Nullable LocalTime> LOCAL_TIME = new TemporalQuery<@Nullable >() {
447+
static final TemporalQuery<@Nullable LocalTime> LOCAL_TIME = new TemporalQuery<@Nullable LocalTime>() {
448448
@Override
449449
public @Nullable LocalTime queryFrom(TemporalAccessor temporal) {
450450
if (temporal.isSupported(NANO_OF_DAY)) {

0 commit comments

Comments
 (0)