From 8209a047d328023c4544c84ff9581e63a429a235 Mon Sep 17 00:00:00 2001
From: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
Date: Wed, 9 Nov 2022 10:50:32 -0500
Subject: [PATCH] Remove @SpringCloudApplication annotation
---
.../cloud/client/SpringCloudApplication.java | 46 -------------------
1 file changed, 46 deletions(-)
delete mode 100644 spring-cloud-commons/src/main/java/org/springframework/cloud/client/SpringCloudApplication.java
diff --git a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/SpringCloudApplication.java b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/SpringCloudApplication.java
deleted file mode 100644
index 1d341997..00000000
--- a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/SpringCloudApplication.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright 2012-2020 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.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.springframework.cloud.client;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
-
-/**
- * @author Spencer Gibb
- * @deprecated This annotation has been deprecated as of the 3.0.1 release.
- * @EnableDiscoveryClient
is no longer needed, discovery client
- * implementations are enabled as long as an implementation is on the classpath.
- * @EnableCircuitBreaker
is no longer used now that Hystrix has been removed
- * from Spring Cloud.
- */
-@Deprecated
-@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.RUNTIME)
-@Documented
-@Inherited
-@SpringBootApplication
-@EnableDiscoveryClient
-public @interface SpringCloudApplication {
-
-}