dump of the results related to at least one project #61

Merged
claudio.atzori merged 51 commits from miriam.baglioni/dnet-hadoop:dump into master 2020-12-09 17:22:57 +01:00
1 changed files with 3 additions and 8 deletions
Showing only changes of commit 1a89f8211c - Show all commits

View File

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

cleanup

cleanup

done

done
writer.write(new Gson().toJson(Process.getEntity(cInfo)));
}
writer.close();
}

why an exception risen here should not interrupt the execution?

why an exception risen here should not interrupt the execution?

because it is in a lambda expression. Anyway we can remove this test. It was just needed to verify that the file was written compressed.

because it is in a lambda expression. Anyway we can remove this test. It was just needed to verify that the file was written compressed.

I have left the test, and removed the lambda

I have left the test, and removed the lambda