diff --git a/packages/jsii-pacmak/lib/targets/java.ts b/packages/jsii-pacmak/lib/targets/java.ts index 11d0898b50..15fd238b88 100644 --- a/packages/jsii-pacmak/lib/targets/java.ts +++ b/packages/jsii-pacmak/lib/targets/java.ts @@ -1511,7 +1511,7 @@ function paramJavadoc(name: string, optional?: boolean, summary?: string): strin function endWithPeriod(s: string): string { if (!s.endsWith('.')) { - return s += '.'; + return s + '.'; } return s; -} \ No newline at end of file +}