From eb160fb2959e0ba789df915104bc97df145c69d0 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Fri, 11 Oct 2024 18:51:16 +0200 Subject: [PATCH] Deprecate SystemPropertyInitializer Resolves #4680 --- .../batch/support/SystemPropertyInitializer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/SystemPropertyInitializer.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/SystemPropertyInitializer.java index 08e96b2eb..ea2ff9bac 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/SystemPropertyInitializer.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/SystemPropertyInitializer.java @@ -1,5 +1,5 @@ /* - * Copyright 2006-2007 the original author or authors. + * Copyright 2006-2024 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. @@ -24,8 +24,9 @@ import org.springframework.util.Assert; * exists it is not changed). * * @author Dave Syer - * + * @deprecated since 5.2 with no replacement. */ +@Deprecated(since = "5.2.0", forRemoval = true) public class SystemPropertyInitializer implements InitializingBean { /**