Synchronize examples in javadoc

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>