Kaydet (Commit) ac00222a authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326258 Explicit null dereferenced

Change-Id: I58b07353f4dca7fc24305bd0120ed7db18339e83
üst 4a0a89f2
......@@ -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;
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment