fix. в методе keepnewFiles была индийская сортировка. вместо Long.compare было приведение к инту и сравнение. что вызывало исключение.

This commit is contained in:
2023-11-15 14:05:04 +03:00
parent 5a30f7d22d
commit 25613012fd
8 changed files with 46 additions and 22 deletions

View File

@@ -286,8 +286,6 @@ public abstract class RepositoryServer<D extends Database> {
case GetObjectsCopiesByPK:
Print("Получить список копий объектов по ключам");
p = (Pair<Class, Object>) request.object;
System.out.println(p.getKey());
System.out.println(p.getValue());
response = new ServerExchangeUnit_2021(ServerCode.OK);
response.object = db.getObjectsCopies(p.getKey(), (Vector<Object>) p.getValue());
break;