Merge pull request #4241 from izeye/trace

* pr/4241:
  Remove unused property in TraceProperties
This commit is contained in:
Stephane Nicoll 2015-10-20 09:12:40 +02:00
commit d554aa34b6
1 changed files with 1 additions and 17 deletions

View File

@ -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> 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() {
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.
*/