Skip to content

Commit

Permalink
MET-6183 Fix sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stzanakis committed Oct 11, 2024
1 parent 54bbac9 commit bf0375b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
package eu.europeana.metis.core.workflow.plugins;

import static java.lang.String.format;

import eu.europeana.cloud.service.dps.DpsTask;
import eu.europeana.cloud.service.dps.PluginParameterKeys;
import eu.europeana.metis.core.common.RecordIdUtils;
import eu.europeana.metis.utils.DepublicationReason;
import java.util.HashMap;
import java.util.Map;
import org.springframework.util.CollectionUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,9 @@ public DatasetXslt getDatasetXsltByDatasetId(@RequestHeader("Authorization") Str
MetisUserView metisUserView = authenticationClient.getUserByAccessTokenInHeader(authorization);

DatasetXslt datasetXslt = datasetService.getDatasetXsltByDatasetId(metisUserView, datasetId);
LOGGER.info("Dataset XSLT with datasetId '{}' and xsltId: '{}' found", sanitizeCRLF(datasetId),
datasetXslt.getId());
if (LOGGER.isInfoEnabled()) {
LOGGER.info("Dataset XSLT with datasetId '{}' and xsltId: '{}' found", sanitizeCRLF(datasetId), datasetXslt.getId());
}
return datasetXslt;
}

Expand Down

0 comments on commit bf0375b

Please sign in to comment.