added forgotten break statements

This commit is contained in:
Connectety-W
2019-01-20 14:39:06 +01:00
parent 76a3742084
commit 19288c1456

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);