Skip to content

Commit

Permalink
Remove unneeded unchecked warning
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Apr 16, 2024
1 parent eacd6ad commit 92cdfa8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
args -> new InferenceResult((String) args[0], (ModelSettings) args[1], (List<Chunk>) args[2])
);

@SuppressWarnings("unchecked")
private static final ConstructingObjectParser<Chunk, Void> CHUNKS_PARSER = new ConstructingObjectParser<>(
CHUNKS_FIELD.getPreferredName(),
true,
Expand Down

0 comments on commit 92cdfa8

Please sign in to comment.