Skip to content
Snippets Groups Projects
Commit b14ed74d authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- fixed order to reduce workload if null returned

parent dc7d7a83
Branches
Tags
No related merge requests found
...@@ -396,10 +396,10 @@ public class SLUBStoragePlugin extends AbstractStorageHandler { ...@@ -396,10 +396,10 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
protected String getFilePathInDescIfExists(StoredEntityMetaData storedEntityMetadata) protected String getFilePathInDescIfExists(StoredEntityMetaData storedEntityMetadata)
{ {
log.info("SLUBStoragePlugin.getFilePathInDescIfExists()"); log.info("SLUBStoragePlugin.getFilePathInDescIfExists()");
String tmpFilePath = getTempStorageDirectory(false) + "destPath";
if (storedEntityMetadata.getIePid() == null) { if (storedEntityMetadata.getIePid() == null) {
return null; return null;
} }
String tmpFilePath = getTempStorageDirectory(false) + "destPath";
String existsDescPath = StorageUtil.readDestPathFromTmpFile(storedEntityMetadata.getIePid(), tmpFilePath, storedEntityMetadata.getEntityPid()); String existsDescPath = StorageUtil.readDestPathFromTmpFile(storedEntityMetadata.getIePid(), tmpFilePath, storedEntityMetadata.getEntityPid());
log.debug("SLUBStoragePlugin.getFilePathInDescIfExists() existsDescPath='" + existsDescPath + "'"); log.debug("SLUBStoragePlugin.getFilePathInDescIfExists() existsDescPath='" + existsDescPath + "'");
return existsDescPath; return existsDescPath;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment