From af21ebe6c6f80ccd56d87a1e3fd82fe0f027be29 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Mon, 30 Jan 2023 11:49:34 +0100 Subject: [PATCH] Fix CronExpression::parse javadoc Closes gh-29884 --- .../scheduling/support/CronExpression.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/scheduling/support/CronExpression.java b/spring-context/src/main/java/org/springframework/scheduling/support/CronExpression.java index 93e65bf9c5..4584340f1f 100644 --- a/spring-context/src/main/java/org/springframework/scheduling/support/CronExpression.java +++ b/spring-context/src/main/java/org/springframework/scheduling/support/CronExpression.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2021 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -121,11 +121,8 @@ public final class CronExpression { * {@code LW}), it means "the last weekday of the month". * *
  • - * In the "day of week" field, {@code L} stands for "the last day of the - * week". - * If prefixed by a number or three-letter name (i.e. {@code dL} or - * {@code DDDL}), it means "the last day of week {@code d} (or {@code DDD}) - * in the month". + * In the "day of week" field, {@code dL} or {@code DDDL} stands for + * "the last day of week {@code d} (or {@code DDD}) in the month". *
  • * *