fix style

This commit is contained in:
Glavo
2021-09-02 23:37:11 +08:00
committed by Yuhui Huang
parent 7eed142a6f
commit 3314bf93b0

View File

@@ -27,13 +27,13 @@ public class MultipleSourceVersionList extends VersionList<RemoteVersion> {
MultipleSourceVersionList(List<VersionList<?>> backends) {
this.backends = backends;
assert(backends.size() >= 1);
assert (backends.size() >= 1);
}
@Override
public boolean hasType() {
boolean hasType = backends.get(0).hasType();
assert(backends.stream().allMatch(versionList -> versionList.hasType() == hasType));
assert (backends.stream().allMatch(versionList -> versionList.hasType() == hasType));
return hasType;
}