mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-26 17:24:47 +00:00
ATS-711: Fix typos in controller
Some regression typos in the controller
This commit is contained in:
parent
0bd6624d00
commit
4af5fdd538
@ -91,7 +91,7 @@ public class AIOController extends AbstractTransformerController
|
|||||||
final String targetMimetype, final Map<String, String> transformOptions, final Long timeout)
|
final String targetMimetype, final Map<String, String> transformOptions, final Long timeout)
|
||||||
{
|
{
|
||||||
final String transform = getTransformerName(sourceFile, sourceMimetype, targetMimetype, transformOptions);
|
final String transform = getTransformerName(sourceFile, sourceMimetype, targetMimetype, transformOptions);
|
||||||
transformInternal( transform, sourceFile, targetFile, MIMETYPE_HTML, MIMETYPE_TEXT_PLAIN, transformOptions);
|
transformInternal( transform, sourceFile, targetFile, sourceMimetype, targetMimetype, transformOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO ATS-713 Currently uses the Misc probeTest. The implementation will need to be changed such that the test can be selected based on the required transform
|
// TODO ATS-713 Currently uses the Misc probeTest. The implementation will need to be changed such that the test can be selected based on the required transform
|
||||||
@ -109,7 +109,7 @@ public class AIOController extends AbstractTransformerController
|
|||||||
{
|
{
|
||||||
Map<String, String> parameters = new HashMap<>();
|
Map<String, String> parameters = new HashMap<>();
|
||||||
parameters.put(SOURCE_ENCODING, "UTF-8");
|
parameters.put(SOURCE_ENCODING, "UTF-8");
|
||||||
transformInternal( "misc", sourceFile, targetFile, MIMETYPE_HTML,
|
transformInternal( "html", sourceFile, targetFile, MIMETYPE_HTML,
|
||||||
MIMETYPE_TEXT_PLAIN, parameters);
|
MIMETYPE_TEXT_PLAIN, parameters);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user