From 07c63f794eecba3db818dba974db5a70265ccebc Mon Sep 17 00:00:00 2001 From: Isira Seneviratne Date: Sun, 7 Jul 2024 14:25:02 +0530 Subject: [PATCH] Update documentation --- .../main/java/org/schabi/newpipe/util/Localization.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/util/Localization.java b/app/src/main/java/org/schabi/newpipe/util/Localization.java index 380c79da0..17abaeb96 100644 --- a/app/src/main/java/org/schabi/newpipe/util/Localization.java +++ b/app/src/main/java/org/schabi/newpipe/util/Localization.java @@ -241,7 +241,7 @@ public final class Localization { /** * Get a readable text for a duration in the format {@code hours:minutes:seconds}. - * Prepended zeros are removed. + * * @param duration the duration in seconds * @return a formatted duration String or {@code 00:00} if the duration is zero. */ @@ -250,9 +250,9 @@ public final class Localization { } /** - * Get a readable text for a duration in the format {@code hours:minutes:seconds+}. - * Prepended zeros are removed. If the given duration is incomplete, a plus is appended to the - * duration string. + * Get a readable text for a duration in the format {@code hours:minutes:seconds+}. If the given + * duration is incomplete, a plus is appended to the duration string. + * * @param duration the duration in seconds * @param isDurationComplete whether the given duration is complete or whether info is missing * @param showDurationPrefix whether the duration-prefix shall be shown