Skip to content

Commit

Permalink
Fix suppress warnings for generated MongoDB repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
arouel authored and asereda-gs committed Feb 12, 2020
1 parent 30ee35c commit 1afdfa4
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -57,7 +57,9 @@ import [starImport];
[/if]
*/
[atGenerated type]
[if type.generateSuppressAllWarnings]@SuppressWarnings("all")[/if]
[if type.generatedSuppressWarnings]
@SuppressWarnings({[for k in type.generatedSuppressWarnings][if not for.first], [/if][literal k][/for]})
[/if]
[if type allowsClasspathAnnotation 'javax.annotation.ParametersAreNonnullByDefault']
@javax.annotation.ParametersAreNonnullByDefault
[/if]
Expand Down

0 comments on commit 1afdfa4

Please sign in to comment.