Add closing parens to FactoryModuleBuilder javadoc samples

Fixes issue 826.