Skip to content

Commit 5f87530

Browse files
committed
throw uoe in readFrom
1 parent 00eb6d9 commit 5f87530

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

server/src/main/java/org/elasticsearch/indices/recovery/RecoveryTranslogOperationsRequest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,9 @@ public void writeTo(StreamOutput out) throws IOException {
127127
out.writeVLong(mappingVersionOnPrimary);
128128
}
129129
}
130+
131+
@Override
132+
public void readFrom(StreamInput in) throws IOException {
133+
throw new UnsupportedOperationException("usage of Streamable is to be replaced by Writeable");
134+
}
130135
}

0 commit comments

Comments
 (0)