diff options
Diffstat (limited to 'support/texplate/source/main/kotlin/org/islandoftex/texplate/TemplateProcessing.kt')
-rw-r--r-- | support/texplate/source/main/kotlin/org/islandoftex/texplate/TemplateProcessing.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/texplate/source/main/kotlin/org/islandoftex/texplate/TemplateProcessing.kt b/support/texplate/source/main/kotlin/org/islandoftex/texplate/TemplateProcessing.kt index 659a0df631..213971612a 100644 --- a/support/texplate/source/main/kotlin/org/islandoftex/texplate/TemplateProcessing.kt +++ b/support/texplate/source/main/kotlin/org/islandoftex/texplate/TemplateProcessing.kt @@ -207,11 +207,11 @@ class TemplateProcessing : Callable<Int> { /** * Ensures the first parameter is not null, or sets it to the second one. * - * @param <T> The type. + * @param T The type. * @param first First parameter. * @param second Second parameter. * @return Either the first or the second one. - </T> */ + */ private fun <T> ensure(first: T, second: T): T { return if (!has(first)) second else first } |