NewPipeExtractor/extractor/src/main/java/org/schabi/newpipe/extractor/utils
Profpatsch 7408173246 LocaleCompat.forLanguageTag: return Optional if parsing fails
It’s not obvious that the function will fail in some cases and throw
an `IllegalArgumentException`.

So instead of just failing if parsing fails, return an Optional that
all callers have to decide what to do (e.g. the YoutubeExtractor can
just ignore the locale in that case, like it does with most other
fields in the json if they are unexpected).
2024-01-07 14:31:34 +01:00
..
jsextractor [YouTube] Add JavaScript lexer to parse completely throttling decryption function (#905) 2022-09-24 19:55:46 +02:00
ExtractorHelper.java Fix remaining checkstyle issues in utils/ subpackage 2022-03-26 19:40:13 +01:00
ImageSuffix.java Change requirement of image extensions in ImageSuffix class' Javadoc to a possibility 2023-09-30 21:11:09 +02:00
JavaScript.java YoutubeThrottlingDecrypter: Check if returned string is a valid JavaScript function 2022-08-21 20:16:45 +02:00
JsonUtils.java Fix useage of wrong object 2022-03-26 20:17:50 +01:00
LocaleCompat.java LocaleCompat.forLanguageTag: return Optional if parsing fails 2024-01-07 14:31:34 +01:00
ManifestCreatorCache.java Apply reviews: improve comments, remove FILE, remove Stream#equals(Stream) 2022-05-28 12:00:49 +02:00
Pair.java [YouTube] Fix regression introduced in the order of streams used when adding more parameters to InnerTube requests, using the iOS client for livestreams and more 2022-04-25 20:23:04 +02:00
Parser.java Update copyright notices 2023-09-22 19:10:15 -03:00
RandomStringFromAlphabetGenerator.java Fix javadoc formatting error causing deployment to fail 2022-04-16 17:07:07 +02:00
Utils.java Use String.isBlank(). 2022-11-30 08:26:21 +05:30