Skip to content

Commit 52ed844

Browse files
committed
rename
1 parent 9507583 commit 52ed844

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,16 @@ private static boolean filterSubsystems(DocumentContext documentContext, Diagnos
108108
return true;
109109
}
110110

111-
var stringStream = subsystemFlatList(mdoObject.get().getIncludedSubsystems()).stream()
111+
var subsystemsNames = subsystemFlatList(mdoObject.get().getIncludedSubsystems()).stream()
112112
.map(AbstractMDO::getName)
113113
.collect(Collectors.toList());
114114

115115
var include = subsystemsFilter.getInclude().isEmpty()
116-
|| stringStream.stream()
116+
|| subsystemsNames.stream()
117117
.anyMatch(mdoSystemName -> subsystemsFilter.getInclude().contains(mdoSystemName));
118118

119119
var exclude = !subsystemsFilter.getExclude().isEmpty()
120-
&& stringStream.stream()
120+
&& subsystemsNames.stream()
121121
.anyMatch(mdoSystemName -> subsystemsFilter.getExclude().contains(mdoSystemName));
122122

123123
return include && !exclude;

0 commit comments

Comments
 (0)