This rule flags the use of the removed constructor in the class com.ibm.websphere.cache.InvalidationEvent or com.ibm.websphere.cache.ChangeEvent . The new constructor takes an additional field. The constructor was removed in WebSphere V7.0.0.5.
The removed constructors are:
from the class
com.ibm.websphere.cache.InvalidationEvent
public InvalidationEvent(java.lang.Object id,
java.lang.Object value,
int causeOfInvalidation,
int sourceOfInvalidation)
and from the class
com.ibm.websphere.cache.ChangeEvent
public ChangeEvent(java.lang.Object id,
java.lang.Object value,
int causeOfChange,
int sourceOfChange)
The new constructors are:
for the class
com.ibm.websphere.cache.InvalidationEvent
public InvalidationEvent(java.lang.Object id,
java.lang.Object value,
int causeOfInvalidation,
int sourceOfInvalidation,
java.lang.String cacheName)
for the class
com.ibm.websphere.cache.ChangeEvent
public ChangeEvent(java.lang.Object id,
java.lang.Object value,
int causeOfChange,
int sourceOfChange,
java.lang.String cacheName)
For more information see: