mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
logging for EA-92487 - IAE: ObjectUtils.notNull
This commit is contained in:
+4
-2
@@ -23,7 +23,6 @@ import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.Key;
|
||||
import com.intellij.util.Function;
|
||||
import com.intellij.util.ObjectUtils;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.annotations.TestOnly;
|
||||
@@ -410,7 +409,10 @@ public class GeneralToSMTRunnerEventsConvertor extends GeneralTestEventsProcesso
|
||||
|
||||
public void onTestIgnored(@NotNull final TestIgnoredEvent testIgnoredEvent) {
|
||||
addToInvokeLater(() -> {
|
||||
final String testName = ObjectUtils.assertNotNull(testIgnoredEvent.getName());
|
||||
final String testName = testIgnoredEvent.getName();
|
||||
if (testName == null) {
|
||||
logProblem("TestIgnored event: no name");
|
||||
}
|
||||
String ignoreComment = testIgnoredEvent.getIgnoreComment();
|
||||
final String stackTrace = testIgnoredEvent.getStacktrace();
|
||||
final String fullTestName = getFullTestName(testName);
|
||||
|
||||
Reference in New Issue
Block a user