forked from D-Net/dnet-hadoop
added the topic code to the project subset
This commit is contained in:
parent
0bf2d0db52
commit
16bee2084d
|
@ -95,7 +95,7 @@ public class PrepareProjects {
|
||||||
if (csvProject.isPresent()) {
|
if (csvProject.isPresent()) {
|
||||||
|
|
||||||
String[] programme = csvProject.get().getProgramme().split(";");
|
String[] programme = csvProject.get().getProgramme().split(";");
|
||||||
// String topic = csvProject.get().getTopics();
|
String topic = csvProject.get().getTopics();
|
||||||
// String topicdescription = Optional
|
// String topicdescription = Optional
|
||||||
// .ofNullable(csvProject.get().getTopics())
|
// .ofNullable(csvProject.get().getTopics())
|
||||||
// .map(topics -> {
|
// .map(topics -> {
|
||||||
|
@ -110,7 +110,7 @@ public class PrepareProjects {
|
||||||
.stream(programme)
|
.stream(programme)
|
||||||
.forEach(p -> {
|
.forEach(p -> {
|
||||||
CSVProject proj = new CSVProject();
|
CSVProject proj = new CSVProject();
|
||||||
// proj.setTopics(topic);
|
proj.setTopics(topic);
|
||||||
// if (topicdescription != null) {
|
// if (topicdescription != null) {
|
||||||
// proj.setTopicdescription(topicdescription);
|
// proj.setTopicdescription(topicdescription);
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue