mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
[fix][headless-chat]Fix typo bug.#1736
This commit is contained in:
@@ -19,8 +19,7 @@ public abstract class MapResult implements Serializable {
|
||||
public abstract String getMapKey();
|
||||
|
||||
public Boolean lessSimilar(MapResult otherResult) {
|
||||
String mapKey = this.getMapKey();
|
||||
String otherMapKey = otherResult.getMapKey();
|
||||
return mapKey.equals(otherMapKey) && otherResult.similarity < otherResult.similarity;
|
||||
return this.getMapKey().equals(otherResult.getMapKey())
|
||||
&& this.similarity < otherResult.similarity;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user