From f02f2eaf9593a295434b8555286c0e9786570364 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 25 Apr 2017 11:47:50 +0100 Subject: [PATCH] Remove unused annotation class --- .../function/web/flux/FunctionMapping.java | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/flux/FunctionMapping.java diff --git a/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/flux/FunctionMapping.java b/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/flux/FunctionMapping.java deleted file mode 100644 index dcdcda92f..000000000 --- a/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/flux/FunctionMapping.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2012-2015 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 - * - * http://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.function.web.flux; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -import org.springframework.core.annotation.AliasFor; - -/** - * @author Dave Syer - * - */ -@Target({ElementType.METHOD, ElementType.TYPE}) -@Retention(RetentionPolicy.RUNTIME) -@Documented -public @interface FunctionMapping { - - String name() default ""; - - @AliasFor("path") - String[] value() default {}; - - @AliasFor("value") - String[] path() default {};}