Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Paurikova2 committed Nov 22, 2024
1 parent eb2315e commit 876a7f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
import org.slf4j.LoggerFactory;

/**
* The ProvenanceMessageProviderImpl class implements the ProvenanceMessageProvider interface,
* providing methods to generate provenance messages for DSpace items. It loads message templates
* The ProvenanceMessageProvider providing methods to generate provenance messages for DSpace items.
* It loads message templates
* from a JSON file and formats messages based on the context, including user details and timestamps.
*
* @author Michaela Paurikova (dspace at dataquest.sk)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,20 @@
import org.dspace.content.service.clarin.ClarinLicenseResourceMappingService;

/**
* Provenance is responsible for creating provenance metadata for items based on the actions performed.
* ProvenanceProviderrest is responsible for creating provenance metadata for items based on the actions performed.
*
* @author Michaela Paurikova (dspace at dataquest.sk)
*/
public class ProvenanceProvider {
private static final Logger log = LogManager.getLogger(ProvenanceProvider.class);

private ItemService itemService = ContentServiceFactory.getInstance().getItemService();
private ResourcePolicyService resourcePolicyService = AuthorizeServiceFactory.getInstance().getResourcePolicyService();
private ResourcePolicyService resourcePolicyService =
AuthorizeServiceFactory.getInstance().getResourcePolicyService();

private ClarinItemService clarinItemService = ClarinServiceFactory.getInstance().getClarinItemService();
private ClarinLicenseResourceMappingService clarinResourceMappingService = ClarinServiceFactory.getInstance().getClarinLicenseResourceMappingService();
private ClarinLicenseResourceMappingService clarinResourceMappingService =
ClarinServiceFactory.getInstance().getClarinLicenseResourceMappingService();
private BitstreamService bitstreamService = ContentServiceFactory.getInstance().getBitstreamService();

private final ProvenanceMessageProvider messageProvider = new ProvenanceMessageProvider();
Expand Down

0 comments on commit 876a7f2

Please sign in to comment.