Skip to content

Commit f9b9007

Browse files
rockdabootelasticsearchmachine
andauthored
[Profiling] Drop deprecated ChunkedToXContentObject.toString() (#120043)
* [Profiling] Drop deprecated ChunkedToXContentObject.toString() * [CI] Auto commit changes from spotless --------- Co-authored-by: elasticsearchmachine <[email protected]>
1 parent e196138 commit f9b9007

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

x-pack/plugin/profiling/src/main/java/org/elasticsearch/xpack/profiling/action/GetStackTracesResponse.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import org.elasticsearch.action.ActionResponse;
1010
import org.elasticsearch.action.support.TransportAction;
11-
import org.elasticsearch.common.Strings;
1211
import org.elasticsearch.common.collect.Iterators;
1312
import org.elasticsearch.common.io.stream.StreamOutput;
1413
import org.elasticsearch.common.xcontent.ChunkedToXContentHelper;
@@ -142,9 +141,4 @@ public boolean equals(Object o) {
142141
public int hashCode() {
143142
return Objects.hash(stackTraces, stackFrames, executables, stackTraceEvents, totalFrames, samplingRate);
144143
}
145-
146-
@Override
147-
public String toString() {
148-
return Strings.toString(this, true, true);
149-
}
150144
}

0 commit comments

Comments
 (0)