1
0
Fork 0
This commit is contained in:
Miriam Baglioni 2020-11-25 18:12:40 +01:00
parent 5fbe54ef54
commit 1a89f8211c
1 changed files with 3 additions and 8 deletions

View File

@ -164,14 +164,9 @@ public class CreateEntityTest {
final Consumer<ContextInfo> consumer = ci -> cInfoList.add(ci); final Consumer<ContextInfo> consumer = ci -> cInfoList.add(ci);
queryInformationSystem.getContextInformation(consumer); queryInformationSystem.getContextInformation(consumer);
cInfoList.forEach(cInfo -> { for(ContextInfo cInfo: cInfoList){
try { writer.write(new Gson().toJson(Process.getEntity(cInfo)));
writer.write(new Gson().toJson(Process.getEntity(cInfo))); }
} catch (IOException e) {
e.printStackTrace();
}
});
writer.close(); writer.close();
} }