Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
synergy-api-util
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Raimbek Egemberdiev
synergy-api-util
Commits
1d957d44
Commit
1d957d44
authored
Feb 10, 2017
by
Raimbek Egemberdiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated
parent
236ad0cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
src/main/java/kz/arta/synergy/api/pojo/SynergyUser.java
src/main/java/kz/arta/synergy/api/pojo/SynergyUser.java
+0
-4
src/main/java/kz/arta/synergy/api/services/RegistryService.java
...in/java/kz/arta/synergy/api/services/RegistryService.java
+2
-1
No files found.
src/main/java/kz/arta/synergy/api/pojo/SynergyUser.java
View file @
1d957d44
...
@@ -182,8 +182,6 @@ public class SynergyUser {
...
@@ -182,8 +182,6 @@ public class SynergyUser {
if
(
access
!=
null
?
!
access
.
equals
(
that
.
access
)
:
that
.
access
!=
null
)
return
false
;
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
(
admin
!=
null
?
!
admin
.
equals
(
that
.
admin
)
:
that
.
admin
!=
null
)
return
false
;
if
(
configurator
!=
null
?
!
configurator
.
equals
(
that
.
configurator
)
:
that
.
configurator
!=
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
(
login
!=
null
?
!
login
.
equals
(
that
.
login
)
:
that
.
login
!=
null
)
return
false
;
if
(
password
!=
null
?
!
password
.
equals
(
that
.
password
)
:
that
.
password
!=
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
);
return
!(
privateFolder
!=
null
?
!
privateFolder
.
equals
(
that
.
privateFolder
)
:
that
.
privateFolder
!=
null
);
...
@@ -202,8 +200,6 @@ public class SynergyUser {
...
@@ -202,8 +200,6 @@ public class SynergyUser {
result
=
31
*
result
+
(
access
!=
null
?
access
.
hashCode
()
:
0
);
result
=
31
*
result
+
(
access
!=
null
?
access
.
hashCode
()
:
0
);
result
=
31
*
result
+
(
admin
!=
null
?
admin
.
hashCode
()
:
0
);
result
=
31
*
result
+
(
admin
!=
null
?
admin
.
hashCode
()
:
0
);
result
=
31
*
result
+
(
configurator
!=
null
?
configurator
.
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
+
(
login
!=
null
?
login
.
hashCode
()
:
0
);
result
=
31
*
result
+
(
password
!=
null
?
password
.
hashCode
()
:
0
);
result
=
31
*
result
+
(
password
!=
null
?
password
.
hashCode
()
:
0
);
result
=
31
*
result
+
(
privateFolder
!=
null
?
privateFolder
.
hashCode
()
:
0
);
result
=
31
*
result
+
(
privateFolder
!=
null
?
privateFolder
.
hashCode
()
:
0
);
...
...
src/main/java/kz/arta/synergy/api/services/RegistryService.java
View file @
1d957d44
...
@@ -52,6 +52,7 @@ public class RegistryService {
...
@@ -52,6 +52,7 @@ public class RegistryService {
Query
query
=
Query
.
newInstance
()
Query
query
=
Query
.
newInstance
()
.
url
(
"/rest/api/registry/info"
)
.
url
(
"/rest/api/registry/info"
)
.
queryParam
(
"code"
,
code
);
.
queryParam
(
"code"
,
code
);
return
JsonUtils
.
read
(
restHttpQuery
.
doQuery
(
query
),
Registry
.
class
);
String
result
=
restHttpQuery
.
doQuery
(
query
);
return
JsonUtils
.
read
(
result
,
Registry
.
class
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment