Weitere Korrekturen am CSV-Importer
git-svn-id: https://svn.libreccm.org/ccm/trunk@1937 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
15c6fb0328
commit
53e796b724
|
|
@ -98,11 +98,13 @@ public class ProceedingsImportReport {
|
|||
//writer.printf("Date from of conference: %s\n", dateToOfConference.toString());
|
||||
//writer.printf("Date to of conference..: %s\n", dateToOfConference.toString());
|
||||
writer.print("Authors:\n");
|
||||
for(AuthorImportReport author : authors) {
|
||||
for (AuthorImportReport author : authors) {
|
||||
writer.printf("%s\n", author.toString());
|
||||
}
|
||||
|
||||
writer.append(publisher.toString());
|
||||
if (publisher != null) {
|
||||
writer.append(publisher.toString());
|
||||
}
|
||||
writer.append('\n');
|
||||
|
||||
for (int i = 0; i < 40; i++) {
|
||||
|
|
@ -116,5 +118,4 @@ public class ProceedingsImportReport {
|
|||
proceedingsTitle);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -242,7 +242,9 @@ public class ImporterUtil {
|
|||
|
||||
collectedVolume.setYearOfPublication(yearOfPub);
|
||||
for (AuthorData author : authors) {
|
||||
report.addAuthor(processAuthor(collectedVolume, author, pretend));
|
||||
if ((author.getSurname() != null) && !author.getSurname().isEmpty()) {
|
||||
report.addAuthor(processAuthor(collectedVolume, author, pretend));
|
||||
}
|
||||
}
|
||||
|
||||
if ((publisherName != null) && !publisherName.isEmpty()) {
|
||||
|
|
@ -329,7 +331,9 @@ public class ImporterUtil {
|
|||
}
|
||||
proceedings.setYearOfPublication(yearOfPub);
|
||||
for (AuthorData author : authors) {
|
||||
report.addAuthor(processAuthor(proceedings, author, pretend));
|
||||
if ((author.getSurname() != null) && !author.getSurname().isEmpty()) {
|
||||
report.addAuthor(processAuthor(proceedings, author, pretend));
|
||||
}
|
||||
}
|
||||
|
||||
if ((publisherName != null) && !publisherName.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue