mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -288,7 +288,7 @@ public class PyRequirement {
|
||||
|
||||
@NotNull
|
||||
private static List<PyRequirement> parse(@NotNull String s, @Nullable VirtualFile anchor, @NotNull Set<VirtualFile> visited) {
|
||||
final List<PyRequirement> result = new ArrayList<PyRequirement>();
|
||||
final Set<PyRequirement> result = new LinkedHashSet<PyRequirement>();
|
||||
for (String line : StringUtil.splitByLines(s)) {
|
||||
final String trimmed = line.trim();
|
||||
if (!trimmed.isEmpty()) {
|
||||
@@ -301,7 +301,7 @@ public class PyRequirement {
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
return new ArrayList<PyRequirement>(result);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user