Fixed NPE
This commit is contained in:
parent
6fc26e5b34
commit
6831f8a4af
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ public class MediaModuleParser implements ModuleParser {
|
||||||
|
|
||||||
final String timeAttr = Strings.trimToNull(thumb.getAttributeValue("time"));
|
final String timeAttr = Strings.trimToNull(thumb.getAttributeValue("time"));
|
||||||
Time time = null;
|
Time time = null;
|
||||||
if (timeAttr == null) {
|
if (timeAttr != null) {
|
||||||
time = new Time(timeAttr);
|
time = new Time(timeAttr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue