Commit f67b6a23 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Remove unused property in TraceProperties

Closes gh-4241
parent fc55d8b7
...@@ -43,19 +43,11 @@ public class TraceProperties { ...@@ -43,19 +43,11 @@ public class TraceProperties {
DEFAULT_INCLUDES = Collections.unmodifiableSet(defaultIncludes); 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> include = new HashSet<Include>(DEFAULT_INCLUDES); private Set<Include> include = new HashSet<Include>(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<Include> getInclude() { public Set<Include> getInclude() {
return this.include; return this.include;
} }
...@@ -64,14 +56,6 @@ public class TraceProperties { ...@@ -64,14 +56,6 @@ public class TraceProperties {
this.include = include; this.include = include;
} }
public int getMaxContentLength() {
return this.maxContentLength;
}
public void setMaxContentLength(int maxContentLength) {
this.maxContentLength = maxContentLength;
}
/** /**
* Include options for tracing. * Include options for tracing.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment