mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-22 12:57:57 +01:00
ListProfilesExternal: make toProfiles() method static
This commit is contained in:
parent
9bc391fc7c
commit
7743f15e72
1 changed files with 1 additions and 1 deletions
|
@ -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(": ");
|
||||
|
|
Loading…
Reference in a new issue