mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-19 05:52:04 +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<>();
|
List<Profile> profiles = new ArrayList<>();
|
||||||
for (String line : output.split("\n")) {
|
for (String line : output.split("\n")) {
|
||||||
String[] split = line.split(": ");
|
String[] split = line.split(": ");
|
||||||
|
|
Loading…
Reference in a new issue