private static boolean isUnexpectedBug(BugInstance bug){
  return FB_MISSING_EXPECTED_WARNING.equals(bug.getType()) || FB_UNEXPECTED_WARNING.equals(bug.getType());
}

private static boolean isUnexpectedBug ( BugInstance bug ) { return FB_MISSING_EXPECTED_WARNING . equals ( bug . getType ( ) ) || FB_UNEXPECTED_WARNING . equals ( bug . getType ( ) ) ; }
returns if a bug instance is unexpected for this test .
