Fix code warnings

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Reindent code

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Move function out of the loop

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Remove all console output

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix isActual() errors

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>