File tree 1 file changed +1
-2
lines changed
flutter-studio/src/io/flutter/utils
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 26
26
import com .intellij .openapi .project .Project ;
27
27
import com .intellij .openapi .util .io .FileUtil ;
28
28
import com .intellij .openapi .util .io .FileUtilRt ;
29
- import com .intellij .openapi .vfs .CharsetToolkit ;
30
29
import com .intellij .openapi .vfs .VirtualFile ;
31
30
import com .intellij .psi .PsiElement ;
32
31
import com .intellij .util .ReflectionUtil ;
@@ -458,7 +457,7 @@ private String readSettingsFile() {
458
457
requireNonNull (pathToModule );
459
458
requireNonNull (settingsFile );
460
459
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 ));
462
461
}
463
462
catch (NullPointerException | IOException e ) {
464
463
cleanupAfterError ();
You can’t perform that action at this time.
0 commit comments