Extend accepted handles for supports()

Add an additional supported handle format to the supports() method of
VersionedHandleIdentifierProvider to make behavior more in-line with the
DS 5.4 code.
This commit is contained in:
mjmarttila
2016-05-11 13:49:54 -04:00
parent ddab04ee3e
commit ab2f876155

View File

@@ -85,6 +85,16 @@ public class VersionedHandleIdentifierProvider extends IdentifierProvider {
return true;
}
try {
String outOfUrl = retrieveHandleOutOfUrl(identifier);
if(outOfUrl != null)
{
return true;
}
} catch (SQLException e) {
log.error(e.getMessage(), e);
}
return false;
}