Commit 1d957d44 authored by Raimbek Egemberdiev's avatar Raimbek Egemberdiev

updated

parent 236ad0cf
......@@ -182,8 +182,6 @@ public class SynergyUser {
if (access != null ? !access.equals(that.access) : that.access != null) return false;
if (admin != null ? !admin.equals(that.admin) : that.admin != null) return false;
if (configurator != null ? !configurator.equals(that.configurator) : that.configurator != null) return false;
if (modified != null ? !modified.equals(that.modified) : that.modified != null) return false;
if (positions != null ? !positions.equals(that.positions) : that.positions != null) return false;
if (login != null ? !login.equals(that.login) : that.login != null) return false;
if (password != null ? !password.equals(that.password) : that.password != null) return false;
return !(privateFolder != null ? !privateFolder.equals(that.privateFolder) : that.privateFolder != null);
......@@ -202,8 +200,6 @@ public class SynergyUser {
result = 31 * result + (access != null ? access.hashCode() : 0);
result = 31 * result + (admin != null ? admin.hashCode() : 0);
result = 31 * result + (configurator != null ? configurator.hashCode() : 0);
result = 31 * result + (modified != null ? modified.hashCode() : 0);
result = 31 * result + (positions != null ? positions.hashCode() : 0);
result = 31 * result + (login != null ? login.hashCode() : 0);
result = 31 * result + (password != null ? password.hashCode() : 0);
result = 31 * result + (privateFolder != null ? privateFolder.hashCode() : 0);
......
......@@ -52,6 +52,7 @@ public class RegistryService {
Query query = Query.newInstance()
.url("/rest/api/registry/info")
.queryParam("code", code);
return JsonUtils.read(restHttpQuery.doQuery(query), Registry.class);
String result = restHttpQuery.doQuery(query);
return JsonUtils.read(result, Registry.class);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment