java.lang.Object
be.kuleuven.cs.distrinet.sparta.analysis.util.IssueStatus

public final class IssueStatus extends Object
Pure decision helper for the pattern-diagnostics colouring: a diagnostic with no issue text is considered "resolved" (green), anything else is an error (red). Extracted so the decision can be unit tested without SWT.
  • Method Details

    • isResolved

      public static boolean isResolved(String issue)
      Parameters:
      issue - the issue text (from Issue.toString()), may be null
      Returns:
      true when there is no issue, i.e. the diagnostic is resolved