Skip to content
Snippets Groups Projects
Commit b35b3a3c authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#505 - cleanup

parent 1dc43ba4
No related branches found
No related tags found
No related merge requests found
Pipeline #3638 failed
......@@ -6,7 +6,6 @@ import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.context.request.WebRequest;
......
......@@ -250,7 +250,7 @@ public class ImportService
for(int i = 0; i < templates.size(); i++)
{
Template template = templates.get(i);
LOGGER.debug(new StringBuilder().append("Importing template ").append(i + 1).append("/").append(templates.size()).append(" (templateName: ").append(template.getTemplateName()).append(")").toString());
LOGGER.debug(MessageFormat.format("Importing template {0}/{1} (templateName: {2})", i + 1, templates.size(), template.getTemplateName()));
updateTagsForItem(template);
template.setID(null);
templateRepository.save(template);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment