Merged 2.9 to HEAD

8871: Fix unit test failure (BinaryPassThroughContentTransformerTest)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2008-05-06 11:20:56 +00:00
parent 5194966123
commit 5a0f23bfc8

View File

@@ -71,7 +71,7 @@ public class BinaryPassThroughContentTransformer extends AbstractContentTransfor
} }
else else
{ {
if (BinaryPassThroughContentTransformer.class.equals(options.getClass()) == true) if (options == null || TransformationOptions.class.equals(options.getClass()) == true)
{ {
// formats are the same and are not text // formats are the same and are not text
return true; return true;