Fixed regex warning
This commit is contained in:
parent
531de6250d
commit
98ea3b0489
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ import java.util.regex.Pattern;
|
|||
*/
|
||||
public class UeBehaviourVideoStreaming extends UeBehaviour implements MediaPlayer.OnErrorListener{
|
||||
private static final Logger log = Logger.getLogger(UeBehaviourVideoStreaming.class);
|
||||
private static final Pattern YOUTUBE_VIDEOURL_PATTERN = Pattern.compile(".*youtube.*[&\\?]v=([\\w-_]*)[&#]?");
|
||||
private static final Pattern YOUTUBE_VIDEOID_PATTERN = Pattern.compile("^[\\w-_]*$");
|
||||
private static final Pattern YOUTUBE_VIDEOURL_PATTERN = Pattern.compile(".*youtube.*[&\\?]v=([\\w_-]*)[&#]?");
|
||||
private static final Pattern YOUTUBE_VIDEOID_PATTERN = Pattern.compile("^[\\w_-]*$");
|
||||
protected static final String YOUTUBE_FEED_URL = "http://gdata.youtube.com/feeds/api/videos/";
|
||||
|
||||
@Configurable("Streaming URL")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue