public static HealthReport min ( HealthReport a , HealthReport b ) { if ( a == null && b == null ) return null ; if ( a == null ) return b ; if ( b == null ) return a ; if ( a . compareTo ( b ) <= 0 ) return a ; return b ; }
Utility method to find the report with the lowest health .