Avoid using the deprecated DumpNameSpace constructor and fields

This rule flags use of a constructor and two fields in the class com.ibm.websphere.naming.DumpNameSpace which were deprecated in Version 7.0. The binary application scanner does not flag references to the fields because the application binaries contain only the resolved integer value.

The fields that will be flagged are:
com.ibm.websphere.naming.DumpNamespace.LONG
com.ibm.websphere.naming.DumpNamespace.SHORT

Use the following fields instead:
com.ibm.websphere.naming.DumpNamespace.ReportFormat.LONG
com.ibm.websphere.naming.DumpNamespace.ReportFormat.SHORT

The constructor that will be flagged is:
DumpNameSpace(java.io.PrintStream outStream, int reportFormat)

Use the following constructor instead:
DumpNameSpace(java.io.PrintStream outStream, DumpNameSpace.ReportFormat reportFormat)

For additional information, see the