You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/12/29 21:15:47 UTC

[jira] Updated: (AXIOM-12) OMOutputFormat: doSWA and doOptimize should be mutually exclusive...plus we need doOptimizeThreshold

     [ https://issues.apache.org/jira/browse/AXIOM-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIOM-12:
---------------------------------

    Assignee: Andreas Veithen  (was: Rich Scheuerle)

Currently, the isOptimized method in OMOutputFormat is defined as follows:

    public boolean isOptimized() {
        return doOptimize && !doingSWA;  // optimize is disabled if SWA
    }

Therefore, MTOM and SwA are actually already mutually exclusive (although no exception is thrown when attempting to enable both of them).

I think that we can close this issue if we update the Javadoc accordingly.

> OMOutputFormat: doSWA and doOptimize should be mutually exclusive...plus we need doOptimizeThreshold
> ----------------------------------------------------------------------------------------------------
>
>                 Key: AXIOM-12
>                 URL: https://issues.apache.org/jira/browse/AXIOM-12
>             Project: Axiom
>          Issue Type: Bug
>            Reporter: Rich Scheuerle
>            Assignee: Andreas Veithen
>             Fix For: 1.2.11
>
>         Attachments: threahold.txt
>
>
> Scenario:
> OMOutputFormat is set with both doingSWA and doOptimize.  In such cases, both cannot be satisifed.  
> Solution:
> Prefer doingSWA if both are set.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org