Avoid using the deprecated WsnBatchResult fields

This rule flags use of the com.ibm.websphere.naming.WsnBatchResult fields. The binary application scanner does not flag references to the fields because the application binaries contain only the resolved integer value. These fields were deprecated in Version 7.0.

The fields that will be flagged are:
com.ibm.websphere.naming.WsnBatchResult.CREATESUBCONTEXT
com.ibm.websphere.naming.WsnBatchResult.DESTROYSUBCONTEXT

These fields will need to change to their equivalent new values:
com.ibm.websphere.naming.WsnBatchResult.CREATE_SUBCONTEXT
com.ibm.websphere.naming.WsnBatchResult.DESTROY_SUBCONTEXT

The automated fix will change instances of

And changes instances of

For additional information, see the