Skip to content

Commit da2c222

Browse files
committed
use our own string functions
1 parent 85b0a8f commit da2c222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/htmlunit/html/HtmlMedia.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
import java.net.MalformedURLException;
1818
import java.util.Map;
1919

20-
import org.apache.commons.lang3.StringUtils;
2120
import org.htmlunit.SgmlPage;
21+
import org.htmlunit.util.StringUtils;
2222

2323
/**
2424
* HTML Media element, e.g. {@link HtmlAudio} or {@link HtmlVideo}.
@@ -47,7 +47,7 @@ public class HtmlMedia extends HtmlElement {
4747
* @return "probably", "maybe", or "". The current implementation returns ""
4848
*/
4949
public String canPlayType(final String type) {
50-
if (StringUtils.isAllBlank(type)) {
50+
if (StringUtils.isBlank(type)) {
5151
return "";
5252
}
5353

0 commit comments

Comments
 (0)