File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
flutter-idea/src/io/flutter/jxbrowser Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ public void run(@NotNull ProgressIndicator indicator) {
309
309
}
310
310
311
311
analytics .sendEvent (ANALYTICS_CATEGORY , "filesDownloaded" );
312
- loadClasses2021 (fileNames );
312
+ loadClasses (fileNames );
313
313
}
314
314
catch (IOException e ) {
315
315
final long elapsedTime = System .currentTimeMillis () - startTime ;
@@ -324,7 +324,7 @@ public void run(@NotNull ProgressIndicator indicator) {
324
324
ProgressManager .getInstance ().runProcessWithProgressAsynchronously (task , processIndicator );
325
325
}
326
326
327
- private void loadClasses (@ NotNull String [] fileNames ) {
327
+ private void loadClasses2020 (@ NotNull String [] fileNames ) {
328
328
final ClassLoader current = Thread .currentThread ().getContextClassLoader ();
329
329
try {
330
330
//noinspection ConstantConditions
@@ -362,7 +362,7 @@ private void loadClasses(@NotNull String[] fileNames) {
362
362
installation .complete (JxBrowserStatus .INSTALLED );
363
363
}
364
364
365
- private void loadClasses2021 (@ NotNull String [] fileNames ) {
365
+ private void loadClasses (@ NotNull String [] fileNames ) {
366
366
final List <Path > paths = new ArrayList <>();
367
367
final ClassLoader current = Thread .currentThread ().getContextClassLoader ();
368
368
try {
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ List<EditCommand> editCommands = [
64
64
),
65
65
Subst (
66
66
path: 'flutter-idea/src/io/flutter/jxbrowser/JxBrowserManager.java' ,
67
- initial: 'loadClasses2021 (fileNames)' ,
68
- replacement: 'loadClasses (fileNames)' ,
67
+ initial: 'loadClasses (fileNames)' ,
68
+ replacement: 'loadClasses2020 (fileNames)' ,
69
69
versions: ['AF.3.1' ],
70
70
),
71
71
Subst (
You can’t perform that action at this time.
0 commit comments