Skip to content

Commit 72294c2

Browse files
authored
Deprecate unused EnvironmentUtils (#1456)
EnvironmentUtils is not used in all spring-cloud projects, see https://github.com/search?q=org%3Aspring-cloud%20getSubProperties&type=code Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
1 parent 70306ac commit 72294c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-cloud-context/src/main/java/org/springframework/cloud/env/EnvironmentUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,6 +26,7 @@
2626
/**
2727
* @author Spencer Gibb
2828
*/
29+
@Deprecated(since = "4.3.0", forRemoval = true)
2930
public final class EnvironmentUtils {
3031

3132
private EnvironmentUtils() {

0 commit comments

Comments
 (0)