Add missing "since" in @Deprecated

See gh-34942

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
This commit is contained in:
Yanming Zhou
2025-05-26 17:38:18 +08:00
committed by rstoyanchev
parent b7dfd68d89
commit f9fa7cc93b
44 changed files with 111 additions and 111 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2024 the original author or authors.
* Copyright 2002-2025 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.
@@ -158,7 +158,7 @@ public abstract class AbstractResourceBasedMessageSource extends AbstractMessage
* @since 4.3
* @deprecated as of 5.2.2, in favor of {@link #getDefaultLocale()}
*/
@Deprecated
@Deprecated(since = "5.2.2")
protected boolean isFallbackToSystemLocale() {
return this.fallbackToSystemLocale;
}

View File

@@ -200,7 +200,7 @@ public class PropertySourcesPlaceholderConfigurer extends PlaceholderConfigurerS
* {@link #processProperties(ConfigurableListableBeanFactory, ConfigurablePropertyResolver)}
*/
@Override
@Deprecated
@Deprecated(since = "3.1")
protected void processProperties(ConfigurableListableBeanFactory beanFactory, Properties props) {
throw new UnsupportedOperationException(
"Call processProperties(ConfigurableListableBeanFactory, ConfigurablePropertyResolver) instead");

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2024 the original author or authors.
* Copyright 2002-2025 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.
@@ -153,7 +153,7 @@ public class ConcurrentTaskExecutor implements AsyncTaskExecutor, SchedulingTask
this.adaptedExecutor.execute(task);
}
@Deprecated
@Deprecated(since = "5.3.16")
@Override
public void execute(Runnable task, long startTimeout) {
this.adaptedExecutor.execute(task, startTimeout);

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2024 the original author or authors.
* Copyright 2002-2025 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.
@@ -302,7 +302,7 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
* @deprecated as of 5.3.9, in favor of direct
* {@link #getScheduledThreadPoolExecutor()} access
*/
@Deprecated
@Deprecated(since = "5.3.9")
public boolean isRemoveOnCancelPolicy() {
if (this.scheduledExecutor == null) {
// Not initialized yet: return our setting for the time being.