This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
43
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
f1c6fad9
Commit
f1c6fad9
authored
4 years ago
by
Daniel Rainer
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused class SearchResultsDTO.Person
parent
0ddfb217
2 merge requests
!37
Word cloud into production
,
!32
Resolve "Die Klassen Person und GitProject gibt es zweimal"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/at/ac/uibk/gitsearch/service/dto/SearchResultsDTO.java
+0
-73
0 additions, 73 deletions
...va/at/ac/uibk/gitsearch/service/dto/SearchResultsDTO.java
with
0 additions
and
73 deletions
src/main/java/at/ac/uibk/gitsearch/service/dto/SearchResultsDTO.java
+
0
−
73
View file @
f1c6fad9
...
...
@@ -24,79 +24,6 @@ public class SearchResultsDTO {
}
}
public
static
class
Person
{
private
String
name
;
private
String
affiliation
;
private
String
email
;
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getAffiliation
()
{
return
affiliation
;
}
public
void
setAffiliation
(
String
affiliation
)
{
this
.
affiliation
=
affiliation
;
}
public
String
getEmail
()
{
return
email
;
}
public
void
setEmail
(
String
email
)
{
this
.
email
=
email
;
}
@Override
public
String
toString
()
{
return
"Person: { name: "
+
this
.
name
+
", affiliation: "
+
this
.
affiliation
+
", email: "
+
this
.
email
+
"}"
;
}
@Override
public
int
hashCode
()
{
final
int
prime
=
31
;
int
result
=
1
;
result
=
prime
*
result
+
((
affiliation
==
null
)
?
0
:
affiliation
.
hashCode
());
result
=
prime
*
result
+
((
email
==
null
)
?
0
:
email
.
hashCode
());
result
=
prime
*
result
+
((
name
==
null
)
?
0
:
name
.
hashCode
());
return
result
;
}
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
this
==
obj
)
return
true
;
if
(
obj
==
null
)
return
false
;
if
(
getClass
()
!=
obj
.
getClass
())
return
false
;
Person
other
=
(
Person
)
obj
;
if
(
affiliation
==
null
)
{
if
(
other
.
affiliation
!=
null
)
return
false
;
}
else
if
(!
affiliation
.
equals
(
other
.
affiliation
))
return
false
;
if
(
email
==
null
)
{
if
(
other
.
email
!=
null
)
return
false
;
}
else
if
(!
email
.
equals
(
other
.
email
))
return
false
;
if
(
name
==
null
)
{
if
(
other
.
name
!=
null
)
return
false
;
}
else
if
(!
name
.
equals
(
other
.
name
))
return
false
;
return
true
;
}
}
public
enum
GitProjectVisibility
{
PRIVATE
(
"private"
),
PUBLIC
(
"public"
),
INTERNAL
(
"internal"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment