diff options
author | Jon Bratseth <bratseth@gmail.com> | 2020-10-09 18:19:24 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2020-10-09 18:19:24 +0200 |
commit | 2f4b9ce434dd50479c9f1f3e3139acd4e9290ca5 (patch) | |
tree | 44310f64ecd5243b7c320ab423a5fee612692d33 /jdisc_core | |
parent | 471a8febd390210206c85b89505e8d995fc74573 (diff) |
Set RequestType both ways
Diffstat (limited to 'jdisc_core')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/Response.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/Response.java b/jdisc_core/src/main/java/com/yahoo/jdisc/Response.java index c3e386b020c..654c9350547 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/Response.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/Response.java @@ -208,7 +208,9 @@ public class Response { } /** Sets the type classification of this request for metric collection purposes */ - public void setRequestType(Request.RequestType requestType) { this.requestType = requestType; } + public void setRequestType(Request.RequestType requestType) { + this.requestType = requestType; + } /** Returns the type classification of this request for metric collection purposes, or null if not set */ public Request.RequestType getRequestType() { return requestType; } |