Update extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java

Co-authored-by: Tobias Groza <TobiGr@users.noreply.github.com>
This commit is contained in:
Robin
2020-06-27 11:35:01 +02:00
committed by GitHub
parent b63ae93495
commit 576754982e

View File

@@ -113,7 +113,7 @@ public class YoutubeParsingHelper {
* @return the duration in seconds
* @throws ParsingException when more than 3 seperators are found
*/
public static int parseDurationString(String input)
public static int parseDurationString(final String input)
throws ParsingException, NumberFormatException {
// If time separator : is not detected, try . instead
final String[] splitInput = input.contains(":")