Fixed problem in toString of Proceedings.
parent
c1b34c5ad9
commit
2d33b1aca2
|
|
@ -11,6 +11,7 @@ import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
|
|
@ -174,8 +175,20 @@ public class Proceedings extends PublicationWithPublisher {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString(final String data) {
|
public String toString(final String data) {
|
||||||
|
final String papers = this.papers
|
||||||
|
.stream()
|
||||||
|
.map(
|
||||||
|
paper -> String.format(
|
||||||
|
"{ uuid = %s, title = %s}",
|
||||||
|
paper.getUuid(),
|
||||||
|
Objects.toString(paper.getTitle())
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.collect(Collectors.joining(", "));
|
||||||
|
|
||||||
return super.toString(String.format("nameOfConference = \"%s\", "
|
return super.toString(
|
||||||
|
String.format(
|
||||||
|
"nameOfConference = \"%s\", "
|
||||||
+ "placeOfConference = \"%s\", "
|
+ "placeOfConference = \"%s\", "
|
||||||
+ "startDate = \"%s\", "
|
+ "startDate = \"%s\", "
|
||||||
+ "endDate = \"%s\", "
|
+ "endDate = \"%s\", "
|
||||||
|
|
@ -186,8 +199,9 @@ public class Proceedings extends PublicationWithPublisher {
|
||||||
Objects.toString(startDate),
|
Objects.toString(startDate),
|
||||||
Objects.toString(endDate),
|
Objects.toString(endDate),
|
||||||
Objects.toString(organizer),
|
Objects.toString(organizer),
|
||||||
Objects.toString(papers),
|
papers,
|
||||||
data)
|
data
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
/subsystem=transactions:write-attribute(name=default-timeout,value=7200)
|
/subsystem=transactions:write-attribute(name=default-timeout,value=14400)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue