[FIX] Ошибки компиляции

This commit is contained in:
Gravit 2019-10-17 01:19:14 +07:00
parent 80e24715f6
commit a7db7184db
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
2 changed files with 6 additions and 1 deletions

View file

@ -154,7 +154,7 @@ public void onCheckInfo(OshiHWID hwid, String username, Connection c) throws HWI
db_hwid.totalMemory = Long.valueOf(set.getString(hwidFieldTotalMemory));
db_hwid.macAddr = set.getString(hwidFieldMAC);
if (LogHelper.isDevEnabled()) {
LogHelper.dev("Compare HWID: %s vs %s", hwid.getSerializeString(), db_hwid.getSerializeString());
LogHelper.dev("Compare HWID: %s vs %s", hwid.toString(), db_hwid.toString());
}
int compare_point = hwid.compare(db_hwid);
if (compare_point < compare) continue;

View file

@ -46,6 +46,11 @@ public int getLevel() {
return toHWID().getLevel();
}
@Override
public int getAntiLevel() {
return 0;
}
@Override
public int compare(HWID hwid) {
return toHWID().compare(hwid);