added forgotten break statements
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user