mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
Fix checkstyle. Correct grammar of comment while doing so.
This commit is contained in:
@@ -182,10 +182,10 @@ public class VersionedHandleIdentifierProviderWithCanonicalHandles extends Ident
|
|||||||
try {
|
try {
|
||||||
if (dso instanceof Item) {
|
if (dso instanceof Item) {
|
||||||
Item item = (Item) dso;
|
Item item = (Item) dso;
|
||||||
// if for this identifier is already present a record in the Handle table and the corresponding item
|
// if this identifier is already present in the Handle table and the corresponding item
|
||||||
// has an history someone is trying to restore the latest version for the item. When
|
// has a history, then someone is trying to restore the latest version for the item. When
|
||||||
// trying to restore the latest version the identifier in input doesn't have the for 1234/123.latestVersion
|
// trying to restore the latest version, the identifier in input doesn't have the
|
||||||
// it is the canonical 1234/123
|
// 1234/123.latestVersion. Instead, it is the canonical 1234/123
|
||||||
VersionHistory itemHistory = getHistory(context, identifier);
|
VersionHistory itemHistory = getHistory(context, identifier);
|
||||||
if (!identifier.matches(".*/.*\\.\\d+") && itemHistory != null) {
|
if (!identifier.matches(".*/.*\\.\\d+") && itemHistory != null) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user