Avoid using the deprecated naming properties INITIAL_CONTEXT_FACTORY_LEGACY field

This rule flags the use of the com.ibm.websphere.naming.PROPS.INITIAL_CONTEXT_FACTORY_LEGACY field. This field was deprecated in Version 4.0.

All references to this field should be replaced with com.ibm.websphere.naming.PROPS.INITIAL_CONTEXT_FACTORY field.

The automated fix will change INITIAL_CONTEXT_FACTORY_LEGACY to INITIAL_CONTEXT_FACTORY .

For more field information, see the com.ibm.websphere.naming.PROPS Java documentation.

The full Deprecated API list is in the documentation.