Fix typos

This commit is contained in:
Andrea Bollini
2020-06-18 12:55:40 +02:00
parent ec3df2e523
commit 94581761b9
3 changed files with 4 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ import org.dspace.app.rest.RestResourceController;
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
public class VocabularyEntryDetailsRest extends RestAddressableModel {
public static final String NAME = "vocabularyDetailEntry";
public static final String NAME = "vocabularyEntryDetail";
private String id;
private String display;
private String value;
@@ -78,7 +78,7 @@ public class VocabularyEntryDetailsRest extends RestAddressableModel {
@Override
public String getType() {
return VocabularyRest.NAME;
return VocabularyEntryDetailsRest.NAME;
}
@Override

View File

@@ -10,7 +10,6 @@ package org.dspace.app.rest.model;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.dspace.app.rest.RestResourceController;
/**
* An entry in a Vocabulary
@@ -23,7 +22,7 @@ public class VocabularyEntryRest {
private String display;
private String value;
private Map<String, String> otherInformation;
/**
* The Vocabulary Entry Details resource if available related to this entry
*/

View File

@@ -11,7 +11,7 @@ import org.dspace.app.rest.model.VocabularyEntryDetailsRest;
import org.dspace.app.rest.model.hateoas.annotations.RelNameDSpaceResource;
/**
* Authority Rest HAL Resource. The HAL Resource wraps the REST Resource adding
* Vocabulary Entry Details Rest HAL Resource. The HAL Resource wraps the REST Resource adding
* support for the links and embedded resources
*
* @author Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
@@ -19,7 +19,6 @@ import org.dspace.app.rest.model.hateoas.annotations.RelNameDSpaceResource;
@RelNameDSpaceResource(VocabularyEntryDetailsRest.NAME)
public class VocabularyEntryDetailsResource extends HALResource<VocabularyEntryDetailsRest> {
public VocabularyEntryDetailsResource(VocabularyEntryDetailsRest entry) {
super(entry);
}