Skip to content

Commit

Permalink
[Profiling] Drop deprecated ChunkedToXContentObject.toString() (elast…
Browse files Browse the repository at this point in the history
…ic#120043)

* [Profiling] Drop deprecated ChunkedToXContentObject.toString()

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <[email protected]>
  • Loading branch information
rockdaboot and elasticsearchmachine authored Jan 14, 2025
1 parent e196138 commit f9b9007
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import org.elasticsearch.action.ActionResponse;
import org.elasticsearch.action.support.TransportAction;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.collect.Iterators;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.common.xcontent.ChunkedToXContentHelper;
Expand Down Expand Up @@ -142,9 +141,4 @@ public boolean equals(Object o) {
public int hashCode() {
return Objects.hash(stackTraces, stackFrames, executables, stackTraceEvents, totalFrames, samplingRate);
}

@Override
public String toString() {
return Strings.toString(this, true, true);
}
}

0 comments on commit f9b9007

Please sign in to comment.