Skip to content

Commit ba68f34

Browse files
committed
Fixing violations
Signed-off-by: Kshitij Tandon <[email protected]>
1 parent b6161ea commit ba68f34

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

libs/core/src/main/java/org/opensearch/core/common/io/stream/StreamOutput.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,8 @@ public final void writeOptionalInstant(@Nullable Instant instant) throws IOExcep
789789
o.writeByte((byte) 27);
790790
o.writeSemverRange((SemverRange) v);
791791
});
792-
// Have registered ScriptedAvg class with byte 28 in Streamables.java, so that we do not need the implementation reside in the server module
792+
// Have registered ScriptedAvg class with byte 28 in Streamables.java, so that we do not need the implementation reside in the
793+
// server module
793794
WRITERS = Collections.unmodifiableMap(writers);
794795
}
795796

server/src/main/java/org/opensearch/search/aggregations/metrics/ScriptedAvg.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
import org.opensearch.core.common.io.stream.StreamInput;
1515
import org.opensearch.core.common.io.stream.StreamOutput;
1616
import org.opensearch.core.common.io.stream.Writeable;
17-
import org.opensearch.core.xcontent.ToXContent;
18-
import org.opensearch.core.xcontent.ToXContentFragment;
19-
import org.opensearch.core.xcontent.XContentBuilder;
2017

2118
import java.io.IOException;
2219

0 commit comments

Comments
 (0)