diff --git a/src/main/java/dk/kb/netarchivesuite/solrwayback/service/SolrWaybackMementoAPI.java b/src/main/java/dk/kb/netarchivesuite/solrwayback/service/SolrWaybackMementoAPI.java index de44d3b3..0d849a70 100644 --- a/src/main/java/dk/kb/netarchivesuite/solrwayback/service/SolrWaybackMementoAPI.java +++ b/src/main/java/dk/kb/netarchivesuite/solrwayback/service/SolrWaybackMementoAPI.java @@ -85,7 +85,7 @@ public Response timeMap(@Context UriInfo uriInfo, @Context HttpServletRequest ht if (mimeTypeForResponse.isEmpty()) { mimeTypeForResponse = "application/link-format"; } - log.info("Accept header not specified in path. Returning: " + mimeTypeForResponse); + log.info("Accept header not specified in path. Returning: '{}'", mimeTypeForResponse); } URI uri = PathResolver.mementoAPIResolver("/timemap/" + type + "/", uriInfo, url); diff --git a/src/test/java/dk/kb/netarchivesuite/solrwayback/memento/DatetimeNegotiationTest.java b/src/test/java/dk/kb/netarchivesuite/solrwayback/memento/DatetimeNegotiationTest.java index 69f332e8..00ad7874 100644 --- a/src/test/java/dk/kb/netarchivesuite/solrwayback/memento/DatetimeNegotiationTest.java +++ b/src/test/java/dk/kb/netarchivesuite/solrwayback/memento/DatetimeNegotiationTest.java @@ -106,7 +106,7 @@ public void testHeadersForPatternTwoPointOne() throws Exception { } @Test - public void testtimestampInUrlPatternTwoPointOne() throws Exception { + public void testTimestampInUrlPatternTwoPointOne() throws Exception { PropertiesLoader.PLAYBACK_DISABLED = false; // PropertiesLoader.MEMENTO_REDIRECT = true;