coverity#1326258 Explicit null dereferenced
Change-Id: I58b07353f4dca7fc24305bd0120ed7db18339e83
This commit is contained in:
@@ -140,7 +140,7 @@ public final class PluginFactoryImpl extends PluginFactory
|
|||||||
try {
|
try {
|
||||||
props.load(is);
|
props.load(is);
|
||||||
|
|
||||||
String info = props.getProperty(mimeType);
|
String info = mimeType != null ? props.getProperty(mimeType) : null;
|
||||||
if (info != null) {
|
if (info != null) {
|
||||||
ext = info;
|
ext = info;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user