question: @ Override public boolean equals ( Object obj ) { if ( this == obj ) { return true ; } if ( obj == null ) { return false ; } if ( getClass ( ) != obj . getClass ( ) ) { return false ; } Alert item = ( Alert ) obj ; if ( risk != item . risk ) { return false ; } if ( confidence != item . confidence ) { return false ; } if ( pluginId != item . pluginId ) { return false ; } if ( ! name . equals ( item . name ) ) { return false ; } if ( ! method . equalsIgnoreCase ( item . method ) ) { return false ; } if ( ! uri . equalsIgnoreCase ( item . uri ) ) { return false ; } if ( ! param . equalsIgnoreCase ( item . param ) ) { return false ; } if ( ! otherInfo . equalsIgnoreCase ( item . otherInfo ) ) { return false ; } if ( evidence == null ) { if ( item . evidence != null ) { return false ; } } else if ( ! evidence . equals ( item . evidence ) ) { return false ; } if ( attack == null ) { if ( item . attack != null ) { return false ; } } else if ( ! attack . equals ( item . attack ) ) { return false ; } return true ; }
target:  Override equals.  Alerts are equal if the plugin id, alert, other info, uri and param is the same.