doc: Make it clear that a particular property name is used.

This commit is contained in:
Boris Grozev 2016-12-09 10:07:06 -06:00
parent cb2856a8ae
commit d0587e99e6

View File

@ -315,6 +315,13 @@ public class DefaultNominator
*/ */
public void propertyChange(PropertyChangeEvent evt) public void propertyChange(PropertyChangeEvent evt)
{ {
// Make it clear that PROPERTY_CHECK_LIST_CHECKS is in use here.
if (!CheckList.PROPERTY_CHECK_LIST_CHECKS.equals(
evt.getPropertyName()))
{
return;
}
// check list has running out of ordinary checks, see if all other // check list has running out of ordinary checks, see if all other
// candidates are FAILED, in which case we nominate immediately // candidates are FAILED, in which case we nominate immediately
// the relayed candidate // the relayed candidate