File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
flutter-studio/src/io/flutter/utils Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2626import com .intellij .openapi .project .Project ;
2727import com .intellij .openapi .util .io .FileUtil ;
2828import com .intellij .openapi .util .io .FileUtilRt ;
29- import com .intellij .openapi .vfs .CharsetToolkit ;
3029import com .intellij .openapi .vfs .VirtualFile ;
3130import com .intellij .psi .PsiElement ;
3231import com .intellij .util .ReflectionUtil ;
@@ -458,7 +457,7 @@ private String readSettingsFile() {
458457 requireNonNull (pathToModule );
459458 requireNonNull (settingsFile );
460459 BufferedInputStream str = new BufferedInputStream (settingsFile .getInputStream ());
461- return FileUtil .loadTextAndClose (new InputStreamReader (str , CharsetToolkit . UTF8_CHARSET ));
460+ return FileUtil .loadTextAndClose (new InputStreamReader (str , StandardCharsets . UTF_8 ));
462461 }
463462 catch (NullPointerException | IOException e ) {
464463 cleanupAfterError ();
You can’t perform that action at this time.
0 commit comments