[opt](common)Do not use deprecated method.

This commit is contained in:
jerryjzhang
2025-11-02 17:33:06 +08:00
parent 6c5f8fce40
commit 1d9324f689

View File

@@ -42,6 +42,6 @@ public class TextSegmentConvert {
if (Objects.isNull(textSegment) || Objects.isNull(textSegment.metadata())) { if (Objects.isNull(textSegment) || Objects.isNull(textSegment.metadata())) {
return null; return null;
} }
return textSegment.metadata().get(QUERY_ID); return textSegment.metadata().getString(QUERY_ID);
} }
} }