Avoid using the deprecated ConnectionSpecImpl methods

This rule flags the deprecated methods in the class com.ibm.websphere.ola.ConnectionSpecImpl. These methods were deprecated in WebSphere v7.

The deprecated method is setUseCICSContainer(int useCICSContainer).

Use the method: setUseCICSContainer(boolean useCICSContainer) instead.

In the source scanner, the quick fix changes the parameter such that if the parameter is hard coded 1 or 0, it will be replaced by true or false. For example:

If the parameter is not hard coded and is a variable, the argument will be changed to boolean by comparing it to !=0. For example:

For more information, see: