mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE in DefaulLogFilterModel [r=vasya]
This commit is contained in:
@@ -153,7 +153,7 @@ public class DefaultLogFilterModel extends LogFilterModel {
|
||||
final String type = LogConsolePreferences.getType(line);
|
||||
Key contentType = type != null
|
||||
? LogConsolePreferences.getProcessOutputTypes(type)
|
||||
: (myPrevType.equals(LogConsolePreferences.ERROR) ? ProcessOutputTypes.STDERR : ProcessOutputTypes.STDOUT);
|
||||
: (LogConsolePreferences.ERROR.equals(myPrevType) ? ProcessOutputTypes.STDERR : ProcessOutputTypes.STDOUT);
|
||||
if (type != null) {
|
||||
myPrevType = type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user