We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b0a8f commit da2c222Copy full SHA for da2c222
src/main/java/org/htmlunit/html/HtmlMedia.java
@@ -17,8 +17,8 @@
17
import java.net.MalformedURLException;
18
import java.util.Map;
19
20
-import org.apache.commons.lang3.StringUtils;
21
import org.htmlunit.SgmlPage;
+import org.htmlunit.util.StringUtils;
22
23
/**
24
* HTML Media element, e.g. {@link HtmlAudio} or {@link HtmlVideo}.
@@ -47,7 +47,7 @@ public class HtmlMedia extends HtmlElement {
47
* @return "probably", "maybe", or "". The current implementation returns ""
48
*/
49
public String canPlayType(final String type) {
50
- if (StringUtils.isAllBlank(type)) {
+ if (StringUtils.isBlank(type)) {
51
return "";
52
}
53
0 commit comments