mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 02:46:56 +00:00
[opt](common)Do not use deprecated method.
This commit is contained in:
@@ -42,6 +42,6 @@ public class TextSegmentConvert {
|
||||
if (Objects.isNull(textSegment) || Objects.isNull(textSegment.metadata())) {
|
||||
return null;
|
||||
}
|
||||
return textSegment.metadata().get(QUERY_ID);
|
||||
return textSegment.metadata().getString(QUERY_ID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user