Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mathieu GICQUEL
GTD Server
Commits
54262b05
Commit
54262b05
authored
Mar 31, 2021
by
Jean-Mael BOIS
Browse files
Correction of generated bugs - Fix
#29
parent
6fc14b32
Changes
2
Hide whitespace changes
Inline
Side-by-side
gtd-server-core/src/main/java/fr/alma/gtd/server/core/AbstractProject.java
View file @
54262b05
...
...
@@ -44,8 +44,6 @@ public abstract class AbstractProject extends AbstractServerObject implements IP
this
.
setArchived
(
false
);
this
.
setLastModificationDate
(
new
Date
());
this
.
tasksList
=
new
ArrayList
<
ITask
>();
this
.
setParticipantsList
(
new
ArrayList
<
IParticipant
>());
this
.
setSubprojectsList
(
new
ArrayList
<
IProject
>());
this
.
setContacts
(
new
ArrayList
<
IContact
>());
this
.
setProgress
(
Progress
.
TODO
);
}
...
...
gtd-server-persistent/src/main/java/fr/alma/gtd/server/persistence/data/Task.java
View file @
54262b05
...
...
@@ -217,7 +217,7 @@ public final class Task extends AbstractTask {
}
@OneToMany
(
fetch
=
FetchType
.
EAGER
)
private
Set
<
Contact
>
getContact
s
()
{
private
Set
<
Contact
>
getContact
()
{
HashSet
<
Contact
>
listeElem
=
new
HashSet
<
Contact
>();
for
(
IContact
iElem
:
super
.
getContacts
()){
listeElem
.
add
((
Contact
)
iElem
);
...
...
@@ -225,7 +225,7 @@ public final class Task extends AbstractTask {
return
listeElem
;
}
private
void
setContact
s
(
Set
<
Contact
>
listedescontacts
)
{
private
void
setContact
(
Set
<
Contact
>
listedescontacts
)
{
super
.
getContacts
().
clear
();
for
(
Contact
t
:
listedescontacts
){
super
.
getContacts
().
add
(
t
);
...
...
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