File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ private static void updateKnownPaths(@SuppressWarnings("SameParameterValue") @No
78
78
final PropertiesComponent props = PropertiesComponent .getInstance ();
79
79
80
80
// Add the existing known paths.
81
- final String [] oldPaths = props .getValues (propertyKey );
81
+ final List < String > oldPaths = props .getList (propertyKey );
82
82
if (oldPaths != null ) {
83
- allPaths .addAll (Arrays . asList ( oldPaths ) );
83
+ allPaths .addAll (oldPaths );
84
84
}
85
85
86
86
// Store the values back.
@@ -131,9 +131,9 @@ public static String[] getKnownFlutterSdkPaths() {
131
131
}
132
132
133
133
// use the list of paths they've entered in the past
134
- final String [] knownPaths = PropertiesComponent .getInstance ().getValues (FLUTTER_SDK_KNOWN_PATHS );
134
+ final List < String > knownPaths = PropertiesComponent .getInstance ().getList (FLUTTER_SDK_KNOWN_PATHS );
135
135
if (knownPaths != null ) {
136
- paths .addAll (Arrays . asList ( knownPaths ) );
136
+ paths .addAll (knownPaths );
137
137
}
138
138
139
139
// search the user's path
You can’t perform that action at this time.
0 commit comments