added forgotten break statements

This commit is contained in:
Connectety-W 2019-01-20 14:39:06 +01:00
parent 76a3742084
commit 19288c1456
No known key found for this signature in database
GPG key ID: 8F39B4F36D48B3F8

View file

@ -106,6 +106,8 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {
return assertIsID(id); return assertIsID(id);
} }
break;
} }
case "YOUTUBE.COM": case "YOUTUBE.COM":
@ -167,6 +169,8 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {
return assertIsID(id); return assertIsID(id);
} }
} }
break;
} }
throw new ParsingException("Error no suitable url: " + urlString); throw new ParsingException("Error no suitable url: " + urlString);