From 27243bdaff55d28edcb9dac3ad584e39db33ab93 Mon Sep 17 00:00:00 2001 From: Emmanuel Bourg Date: Thu, 29 Jan 2026 14:45:52 +0100 Subject: [PATCH] Fix parameter documentation in TimeFormat.java --- core/src/main/java/org/ocpsoft/prettytime/TimeFormat.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/ocpsoft/prettytime/TimeFormat.java b/core/src/main/java/org/ocpsoft/prettytime/TimeFormat.java index 35f806e2..f3b27594 100644 --- a/core/src/main/java/org/ocpsoft/prettytime/TimeFormat.java +++ b/core/src/main/java/org/ocpsoft/prettytime/TimeFormat.java @@ -25,14 +25,14 @@ public interface TimeFormat /** * Given a populated {@link Duration} object. Apply formatting (with rounding) and output the result. * - * @param The original {@link Duration} instance from which the time string should be decorated. + * @param duration The original {@link Duration} instance from which the time string should be decorated. */ public abstract String format(final Duration duration); /** * Given a populated {@link Duration} object. Apply formatting (without rounding) and output the result. * - * @param The original {@link Duration} instance from which the time string should be decorated. + * @param duration The original {@link Duration} instance from which the time string should be decorated. */ public String formatUnrounded(Duration duration); @@ -52,4 +52,4 @@ public interface TimeFormat */ public String decorateUnrounded(Duration duration, String time); -} \ No newline at end of file +}