MCPcopy Index your code
hub / github.com/processing/processing / findProblem

Method findProblem

app/src/processing/app/ui/Editor.java:3142–3148  ·  view source on GitHub ↗

@return the Problem for the most relevant error or warning on 'line', defaults to the first error, if there are no errors first warning.

(int line)

Source from the content-addressed store, hash-verified

3140 * defaults to the first error, if there are no errors first warning.
3141 */
3142 protected Problem findProblem(int line) {
3143 List<Problem> problems = findProblems(line);
3144 for (Problem p : problems) {
3145 if (p.isError()) return p;
3146 }
3147 return problems.isEmpty() ? null : problems.get(0);
3148 }
3149
3150
3151 public List<Problem> findProblems(int line) {

Callers 1

updateEditorStatusMethod · 0.95

Calls 3

findProblemsMethod · 0.95
isErrorMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected