mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
Save point: [skip ci]
* minor
This commit is contained in:
@@ -33,9 +33,7 @@ import org.alfresco.transform.config.TransformConfig;
|
||||
import org.alfresco.transform.registry.TransformServiceRegistry;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.TypeMismatchException;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.context.event.ApplicationReadyEvent;
|
||||
import org.springframework.context.event.EventListener;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
@@ -222,7 +220,7 @@ public class TransformController
|
||||
targetMimetype = overrideMimetypeFromExtension(origRequestParameters, TARGET_MIMETYPE, targetMimetype);
|
||||
origRequestParameters.forEach((name, value) ->
|
||||
{
|
||||
if (name.startsWith("value") == false)
|
||||
if (!name.startsWith("value"))
|
||||
{
|
||||
if (name.startsWith("name"))
|
||||
{
|
||||
|
@@ -103,7 +103,7 @@ public class TransformControllerWithSingleEngineTest
|
||||
private String coreVersion;
|
||||
|
||||
@Test
|
||||
public void initEngine() throws Exception
|
||||
public void testInitEngine() throws Exception
|
||||
{
|
||||
assertEquals(TestTransformEngineTwoTransformers.class.getSimpleName(),
|
||||
transformController.transformEngine.getClass().getSimpleName());
|
||||
@@ -111,7 +111,7 @@ public class TransformControllerWithSingleEngineTest
|
||||
}
|
||||
|
||||
@Test
|
||||
public void startupLogsIncludeEngineMessages() throws Exception
|
||||
public void testStartupLogsIncludeEngineMessages()
|
||||
{
|
||||
StringJoiner controllerLogMessages = getLogMessagesFor(TransformController.class);
|
||||
|
||||
@@ -148,7 +148,7 @@ public class TransformControllerWithSingleEngineTest
|
||||
}
|
||||
|
||||
@Test
|
||||
public void versionEndpointIncludesAvailable() throws Exception
|
||||
public void testVersionEndpointIncludesAvailable() throws Exception
|
||||
{
|
||||
mockMvc.perform(MockMvcRequestBuilders.get(ENDPOINT_VERSION))
|
||||
.andExpect(status().isOk())
|
||||
|
Reference in New Issue
Block a user