coverity#1326258 Explicit null dereferenced
Change-Id: I58b07353f4dca7fc24305bd0120ed7db18339e83
This commit is contained in:
parent
4a0a89f2ee
commit
ac00222a25
@ -140,7 +140,7 @@ public final class PluginFactoryImpl extends PluginFactory
|
||||
try {
|
||||
props.load(is);
|
||||
|
||||
String info = props.getProperty(mimeType);
|
||||
String info = mimeType != null ? props.getProperty(mimeType) : null;
|
||||
if (info != null) {
|
||||
ext = info;
|
||||
}
|
||||
@ -171,4 +171,4 @@ public final class PluginFactoryImpl extends PluginFactory
|
||||
DocumentMergerImpl merger = new DocumentMergerImpl(doc, cc);
|
||||
return merger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user