mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
Perform some conventions code and fixed little bugs
This commit is contained in:

committed by
Pascal-Nicolas Becker

parent
404bc1c6bf
commit
7fa57d84ca
@@ -335,7 +335,7 @@ public class DOIIdentifierProvider
|
||||
TableRow doiRow = null;
|
||||
try
|
||||
{
|
||||
doiRow = DatabaseManager.findByUnique(context, "Doi", "doi", doi);
|
||||
doiRow = DatabaseManager.findByUnique(context, "Doi", "doi", doi.substring(DOI.SCHEME.length()));
|
||||
}
|
||||
catch (SQLException sqle)
|
||||
{
|
||||
@@ -492,7 +492,7 @@ public class DOIIdentifierProvider
|
||||
|
||||
try
|
||||
{
|
||||
doiRow = DatabaseManager.findByUnique(context, "Doi", "doi", doi);
|
||||
doiRow = DatabaseManager.findByUnique(context, "Doi", "doi", doi.substring(DOI.SCHEME.length()));
|
||||
}
|
||||
catch (SQLException sqle)
|
||||
{
|
||||
|
Reference in New Issue
Block a user