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>
This commit is contained in:
Yanming Zhou
2025-01-24 00:18:21 +08:00
committed by GitHub
parent 70306acce9
commit 72294c24fb

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-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.
@@ -26,6 +26,7 @@ import org.springframework.core.env.Environment;
/**
* @author Spencer Gibb
*/
@Deprecated(since = "4.3.0", forRemoval = true)
public final class EnvironmentUtils {
private EnvironmentUtils() {