Ruchith Fernando wrote:

On 9/30/05, Eric Johnson <[EMAIL PROTECTED]> wrote:
2) What is the OMText "optimized" property?  It is never set via
"setOptimized", and never inspected via "isOptimized."  I'm guessing
that this was meant to be the "optimized" part of MTOM, but since it is
never set or used, is it worth keeping?
I don't think this is true. The 'setOptimize' method is used in 7
instances in the Axis2 project (including test cases). For example we
are using it in enabling the MTOM-Optimizing of certain parts of a
secured message in the security module. Please see:
org.apache.axis2.security.util.MessageOptimizer
And isoptimized is used in figuring out whether a message is an MTOM
message  (E.g. org.apache.axis2.transport.http.HTTPTransportUtils)
So I guess we'll have to keep them ;-)
Indeed. It looks like IntelliJ was misleading me. I've found uses via other means. I've not had that problem with IntelliJ before. Now trying to figure out what I'm doing wrong on that front.

-Eric.

Reply via email to