From bec5d15d189318b94e1537c76b134205288716d9 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sun, 6 Feb 2022 18:37:30 -0500 Subject: [PATCH] minor clarification --- java/src/processing/mode/java/ErrorChecker.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/java/src/processing/mode/java/ErrorChecker.java b/java/src/processing/mode/java/ErrorChecker.java index 4f4669cdd..6cdd0ed68 100644 --- a/java/src/processing/mode/java/ErrorChecker.java +++ b/java/src/processing/mode/java/ErrorChecker.java @@ -156,7 +156,7 @@ class ErrorChecker { * cause issues when reaching javac. *

* - * @return True if ignoreable and false otherwise. + * @return True if ignorable and false otherwise. */ static private boolean isIgnorableProblem(IProblem iproblem) { String message = iproblem.getMessage(); @@ -171,9 +171,7 @@ class ErrorChecker { ); // It's ok if the file names do not line up during preprocessing. - ignorable = ignorable || message.contains( - "must be defined in its own file" - ); + ignorable |= message.contains("must be defined in its own file"); return ignorable; }