forked from D-Net/dnet-hadoop
This commit is contained in:
parent
5fbe54ef54
commit
1a89f8211c
|
@ -164,14 +164,9 @@ public class CreateEntityTest {
|
|||
final Consumer<ContextInfo> consumer = ci -> cInfoList.add(ci);
|
||||
queryInformationSystem.getContextInformation(consumer);
|
||||
|
||||
cInfoList.forEach(cInfo -> {
|
||||
try {
|
||||
for(ContextInfo cInfo: cInfoList){
|
||||
writer.write(new Gson().toJson(Process.getEntity(cInfo)));
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
});
|
||||
|
||||
writer.close();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue