java-dest: follow the interface modifications done in version 3.6

Signed-off-by: Viktor Juhász <viktor.juhasz@balabit.com>
java-dest: indentation is corrected

Signed-off-by: Viktor Juhász <viktor.juhasz@balabit.com>