Workaround for current compilation error of InvokeCommand.java.

- issue is related to java compiler bug, but currently we don't know why the issue has only just been triggered

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2010-09-14 15:54:25 +00:00
parent c318bb81b3
commit 6db206ede1

View File

@@ -72,7 +72,9 @@ public class InvokeCommand extends BaseAjaxCommand
@Target(ElementType.METHOD)
public @interface ResponseMimetype
{
public String value() default MimetypeMap.MIMETYPE_XML;
// NOTE: replaced Mimetype.MIMETYPE_XML with string literal due to bug
// http://bugs.sun.com/view_bug.do?bug_id=6512707 - causing build to fail
public String value() default "text/xml";
}
/////////////////////////////////////////////////////////////////////////////