Polish contribution
Removing all deprecated code Closes gh-4905 Closes gh-4917
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2016 the original author or authors.
|
||||
* Copyright 2012-2016 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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2015 the original author or authors.
|
||||
* Copyright 2012-2016 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.
|
||||
@@ -40,18 +40,6 @@ public class EndpointMBean {
|
||||
|
||||
private final ObjectMapper mapper;
|
||||
|
||||
/**
|
||||
* Create a new {@link EndpointMBean} instance.
|
||||
* @param beanName the bean name
|
||||
* @param endpoint the endpoint to wrap
|
||||
* @deprecated since 1.3 in favor of
|
||||
* {@link #EndpointMBean(String, Endpoint, ObjectMapper)}
|
||||
*/
|
||||
@Deprecated
|
||||
public EndpointMBean(String beanName, Endpoint<?> endpoint) {
|
||||
this(beanName, endpoint, new ObjectMapper());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new {@link EndpointMBean} instance.
|
||||
* @param beanName the bean name
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2016 the original author or authors.
|
||||
* Copyright 2012-2016 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.
|
||||
|
||||
@@ -62,17 +62,6 @@ public class WebRequestTraceFilter extends OncePerRequestFilter implements Order
|
||||
|
||||
private final TraceProperties properties;
|
||||
|
||||
/**
|
||||
* Create a new {@link WebRequestTraceFilter} instance.
|
||||
* @param traceRepository the trace repository.
|
||||
* @deprecated since 1.3.0 in favor of
|
||||
* {@link #WebRequestTraceFilter(TraceRepository, TraceProperties)}
|
||||
*/
|
||||
@Deprecated
|
||||
public WebRequestTraceFilter(TraceRepository traceRepository) {
|
||||
this(traceRepository, new TraceProperties());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new {@link WebRequestTraceFilter} instance.
|
||||
* @param repository the trace repository
|
||||
|
||||
Reference in New Issue
Block a user