From f67b6a233a267f2ab9e8cf993fd000aff1202364 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 20 Oct 2015 10:56:57 +0900 Subject: [PATCH] Remove unused property in TraceProperties Closes gh-4241 --- .../boot/actuate/trace/TraceProperties.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/TraceProperties.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/TraceProperties.java index 4eb45cd0a77..13184a50a6d 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/TraceProperties.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/TraceProperties.java @@ -43,19 +43,11 @@ public class TraceProperties { DEFAULT_INCLUDES = Collections.unmodifiableSet(defaultIncludes); } - private static final int DEFAULT_MAX_CONTENT_LENGTH = 32768; - /** - * Items to included in the trace. Defaults to request/response headers and errors. + * Items to be included in the trace. Defaults to request/response headers and errors. */ private Set include = new HashSet(DEFAULT_INCLUDES); - /** - * Maximum number of content bytes that can be traced before being truncated (-1 for - * unlimited). - */ - private int maxContentLength = DEFAULT_MAX_CONTENT_LENGTH; - public Set getInclude() { return this.include; } @@ -64,14 +56,6 @@ public class TraceProperties { this.include = include; } - public int getMaxContentLength() { - return this.maxContentLength; - } - - public void setMaxContentLength(int maxContentLength) { - this.maxContentLength = maxContentLength; - } - /** * Include options for tracing. */