Skip to content

Commit

Permalink
Remove unnecessary assignment expression
Browse files Browse the repository at this point in the history
  • Loading branch information
rix0rrr authored Sep 5, 2019
1 parent 019ee3c commit 850a8ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jsii-pacmak/lib/targets/java.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 850a8ef

Please sign in to comment.