ListProfilesExternal: make toProfiles() method static

This commit is contained in:
Paul Schaub 2023-04-17 13:10:30 +02:00
parent 9bc391fc7c
commit 7743f15e72
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ public class ListProfilesExternal implements ListProfiles {
}
}
private List<Profile> toProfiles(String output) {
private static List<Profile> toProfiles(String output) {
List<Profile> profiles = new ArrayList<>();
for (String line : output.split("\n")) {
String[] split = line.split(": ");